Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2008 11:55:30 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: du and df don't agree
Message-ID:  <20081111105530.GA94707@ei.bzerk.org>
In-Reply-To: <49194EE2.7060708@IMAP>
References:  <49185ABC.6080004@earthlink.net> <20081110162111.GA26951@svzserv.kemerovo.su> <20081111080321.GA94210@ei.bzerk.org> <49194EE2.7060708@IMAP>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 11, 2008 at 10:22:42AM +0100, Willem Jan Withagen typed:
> Ruben de Groot wrote:
> >On Mon, Nov 10, 2008 at 11:21:11PM +0700, Eugene Grosbein typed:
> >>On Mon, Nov 10, 2008 at 11:01:00AM -0500, Stephen Clark wrote:
> >>
> >>>Why would du show 630k used by /tmp while df show 161M used
> >>>by /tmp?
> >>>
> >>>I have run fstat /tmp and can't find any files that are using
> >>>the space that df is claiming as being used.
> >>You need lsof +aL1 /tmp to see an answer.
> >
> >Please don't advise people to install third party apps (lsof) where
> >base system tools (fstat) can do the job.
> 
> Why not?

Because it gives the impression the base system is incomplete, which it is not,
at least not in this situation. The wording "you need lsof" is plain wrong.

> This is one of the ways I pick up on all kinds of nice tools I've not heard 
> of before. And it is not like this is swamping the list with of topic 
> questions.

Difference of opinion; I prefer to use FreeBSD tools before falling back to
3rd party tools, no matter how nice.

> You might have redirected the question to questions@

I don't see the point. Why didn't you redirect it?

> OTOH
> The initial question indicated that fstat did not give the info wanted.
> Your info does not help, because you told him to use fstat, but forgot to 
> mention HOW. So he is in no way any wiser after your answer.

Yes, my bad. But he allready found the answer himself (using fstat -f I guess).

Ruben




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081111105530.GA94707>