Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 1996 18:38:02 -0700 (PDT)
From:      Mike Pritchard <mpp>
To:        dima@burka.rdy.com (Dima Ruban)
Cc:        hackers@freebsd.org
Subject:   Re: df && du
Message-ID:  <199605310138.SAA27368@freefall.freebsd.org>
In-Reply-To: <960530182451.ZM26608@burka.rdy.com> from "Dima Ruban" at May 30, 96 06:24:51 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Dima Ruban wrote:
> 
> 
> Hey guys!
> 
> who can explain to me this thingy:
> 
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/wd0s1e     30206    24720     3068    89%    /var
> 
> and
> 
> altair# cd /var
> altair# du -s .
> 12776   .
> altair#
> 
> 12776 (du result) not even close to 24720 (df output)

12776 * 2 = 25552, which is pretty close.  Did you run df with the
BLOCKSIZE environment variable set to "K", and du from 
one without it being set?

Try "du -sk" and see if you get something that is close to df's output.
-- 
Mike Pritchard
mpp@FreeBSD.org
"Go that way.  Really fast.  If something gets in your way, turn"



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