Re: "df" reports wrong size of filesystem
- From: Stefaan A Eeckels <hoendech@xxxxxx>
- Date: Wed, 27 Sep 2006 16:35:54 +0200
On 27 Sep 2006 07:25:17 -0700
"slackware guy" <dgbrown1@xxxxxxx> wrote:
Why would du then report what I would think is the 'correct' result of
the formerly used disk space now being available?
"du" walks the directory tree and counts the blocks that are allocated
to the files.
When the file is unlinked, "du" can no longer find its inode, and
hence cannot include the blocks it uses in its tally.
"df", which uses information in the file system headers, correctly
shows that the blocks are still in use.
Take care,
--
Stefaan A Eeckels
--
I can understand that some people are cheap. I can't accept that
they also appear deeply hurt when someone else makes money.
-- Artur Swietanowski in c.o.l.x
.
- References:
- "df" reports wrong size of filesystem
- From: WolverineJR
- Re: "df" reports wrong size of filesystem
- From: slackware guy
- Re: "df" reports wrong size of filesystem
- From: Stefaan A Eeckels
- Re: "df" reports wrong size of filesystem
- From: slackware guy
- "df" reports wrong size of filesystem
- Prev by Date: Re: Solaris 10 and 8 compatibility questions
- Next by Date: Re: "df" reports wrong size of filesystem
- Previous by thread: Re: "df" reports wrong size of filesystem
- Next by thread: Re: "df" reports wrong size of filesystem
- Index(es):
Relevant Pages
|
|