From: "Mario 'BitKoenig' Holbe" <Mario.Holbe@RZ.TU-Ilmenau.DE>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.4.23 + tmpfs: where's my mem?!
Date: Thu, 11 Dec 2003 16:01:08 +0100 [thread overview]
Message-ID: <bra0rj$qai$1@sea.gmane.org> (raw)
In-Reply-To: yw1x3cbrh1qn.fsf@kth.se
Måns Rullgård <mru@kth.se> wrote:
> Hugh Dickins <hugh@veritas.com> writes:
>> But the strange thing is that df's Used does not match du: they should
>> be identical, though arrived at from different directions. I've not
No, they are not identical and should not be.
Unlike df, which reads the used counter from the filesystem
meta information, du iterates over files within directories.
If you have a file without a name (created, still open, all
links removed), it does not exist in any directory but it
does exist in the filesystem. So df should show the space
used for it, while du should not.
> FWIW, I've seen this behavior with vmware 4. The space came back when
> I closed vmware.
This is, what Willy Tarreau described.
regards,
Mario
--
Ho ho ho! I am Santa Claus of Borg. Nice assimilation all together!
next prev parent reply other threads:[~2003-12-11 15:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-11 12:54 2.4.23 + tmpfs: where's my mem?! dual_bereta_r0x
2003-12-11 13:31 ` Willy Tarreau
2003-12-11 14:11 ` Hugh Dickins
2003-12-11 14:23 ` Måns Rullgård
2003-12-11 15:01 ` Mario 'BitKoenig' Holbe [this message]
2003-12-11 15:39 ` Hugh Dickins
2003-12-11 20:58 ` Maciej Zenczykowski
2003-12-11 15:31 ` William Stearns
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='bra0rj$qai$1@sea.gmane.org' \
--to=mario.holbe@rz.tu-ilmenau.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox