Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2001 09:55:45 -0500 (EST)
From:      Erik Rothwell <erothwell@callgtn.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Discrepancies between 'df' and 'du'...
Message-ID:  <20011028095502.L33281-100000@endymion>

next in thread | raw e-mail | index | archive | help
Hi folks,

I just noticed something really odd... if I run "df /var" I get this
output:

Filesystem   1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1e      99183    89342     1907    98%    /var]

However, if I do something like "du -skh /var" the result is:

 17M    /var

That's a rather significant difference. As far as I can tell, the contents
of /var (not including symlinks to data on other filesystems) does not
include more than 17MB worth of data... is there any obvious reason why df
might report otherwise?

Thanks...

Erik.

--
E. L. Rothwell

PGP Public Key at http://www.keyserver.net/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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