lkml.org 
[lkml]   [2003]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.4.23 + tmpfs: where's my mem?!
Date
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!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.041 / U:1.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site