Subject: Re: "Interesting" df output
To: MICHAEL LARKIN <tinomen@usa.net>
From: Dr. Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 09/03/1998 12:10:39
On 3 Sep 1998, MICHAEL LARKIN wrote:

> Ahh. I knew about that fact, but was more concerned with df reporting the size
> of the filesystems incorrectly. In addition, doing a du -k /var reveals that
> it has hardly anything in it at all.
> 
> I get similar results for /usr. The size of /usr is 100MB, and only 87MB are
> used. In /var, only 13MB are used. (Out of 32MB).

Doh! I missed that part!

What version are you running? There was a bug in df which would give goofy
output. Like this.

The error was that df would print the SUM of all usage up to that point,
rather than the value for that fs.

If we look at the sums, for /usr, the difference is 286321-190120 = 96201,
which looks like 100 MB or so. For /var, it's 317210-286321 = 30889, which
is ok for a 32 MB /var. I don't know why a 32 MB root shows up as 190120,
though.

So which version of NetBSD is this? sounds like 1.3.2 is in order...

Take care,

Bill