All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christopher Friesen" <cfriesen@nortel.com>
To: linux-kernel@vger.kernel.org
Subject: discrepency between "df" and "du" on tmpfs filesystem?
Date: Thu, 01 Dec 2005 09:32:46 -0600	[thread overview]
Message-ID: <438F179E.5040402@nortel.com> (raw)


Someone noticed this on one of our machines.  The rootfs is a 256MB 
tmpfs filesystem.  Depending on how you check the size, you get two 
different answers.


root@10.41.50.66:/root> df -hl
Filesystem            Size  Used Avail Use% Mounted on
rootfs                256M  250M  6.4M  98% /
none                   32M  116K   32M   1% /tmp

root@10.41.50.66:/root> df -kl
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                  262144    255684      6460  98% /
none                     32768       116     32652   1% /tmp

root@10.41.50.66:/root> du -sxk /
204672  /

root@10.41.50.66:/root> du -sxh /
200M    /

Anyone know what's going on?

Chris

             reply	other threads:[~2005-12-01 15:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-01 15:32 Christopher Friesen [this message]
2005-12-01 16:41 ` discrepency between "df" and "du" on tmpfs filesystem? Hugh Dickins
2005-12-01 17:44   ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=438F179E.5040402@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.