From: Hugh Dickins <hugh@veritas.com>
To: "Mario 'BitKoenig' Holbe" <Mario.Holbe@RZ.TU-Ilmenau.DE>
Cc: dual_bereta_r0x@arenanetwork.com.br, <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.23 + tmpfs: where's my mem?!
Date: Thu, 11 Dec 2003 15:39:36 +0000 (GMT) [thread overview]
Message-ID: <Pine.LNX.4.44.0312111535400.1454-100000@localhost.localdomain> (raw)
In-Reply-To: <bra0rj$qai$1@sea.gmane.org>
On Thu, 11 Dec 2003, Mario 'BitKoenig' Holbe 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.
Yes, of course, you and Willy are right, and the only mystery is
how I could make a mystery of it while already knowing what you've
explained well here. Thanks!
Hugh
next prev parent reply other threads:[~2003-12-11 15:39 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
2003-12-11 15:39 ` Hugh Dickins [this message]
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=Pine.LNX.4.44.0312111535400.1454-100000@localhost.localdomain \
--to=hugh@veritas.com \
--cc=Mario.Holbe@RZ.TU-Ilmenau.DE \
--cc=dual_bereta_r0x@arenanetwork.com.br \
--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;
as well as URLs for NNTP newsgroup(s).