From owner-freebsd-hackers Thu May 30 18:38:04 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA27376 for hackers-outgoing; Thu, 30 May 1996 18:38:04 -0700 (PDT) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA27368; Thu, 30 May 1996 18:38:02 -0700 (PDT) From: Mike Pritchard Message-Id: <199605310138.SAA27368@freefall.freebsd.org> Subject: Re: df && du To: dima@burka.rdy.com (Dima Ruban) Date: Thu, 30 May 1996 18:38:02 -0700 (PDT) Cc: hackers@freebsd.org In-Reply-To: <960530182451.ZM26608@burka.rdy.com> from "Dima Ruban" at May 30, 96 06:24:51 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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"