Re: updating informations of file systems

Glynn Clements <[email protected]> Mon, 9 Feb 2009 10:21:01 +0000
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
Pol wrote:

> Sometimes i happened to notice that the result of the 'du -s' command on a
> ext3 partition  of my local disc does not yield the real value. 
> My impression is that, some times, it may take hours, before the real space 
> used by the partition being updated.
> Is that possible?

No.

BTW, "du" reports the space used by a specific set of directories. If
you want to know the total amount of space free and used for a
partition, you need to use "df".

Apart from anything else, "du" won't report the space used by files
which have been deleted (unlinked) but still exist because a process
is using them.

-- 
Glynn Clements <[email protected]>