From owner-freebsd-current@FreeBSD.ORG Tue Jan 13 23:28:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD50A16A4CE for ; Tue, 13 Jan 2004 23:28:56 -0800 (PST) Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01BD043D48 for ; Tue, 13 Jan 2004 23:28:55 -0800 (PST) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) i0E7Sl06017164; Wed, 14 Jan 2004 08:28:53 +0100 (CET) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.10/8.12.9) with ESMTP id i0E7SkB6020435; Wed, 14 Jan 2004 08:28:46 +0100 (CET) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.10/8.12.9/Submit) id i0E7Se96020430; Wed, 14 Jan 2004 08:28:40 +0100 (CET) (envelope-from wkb) Date: Wed, 14 Jan 2004 08:28:40 +0100 From: Wilko Bulte To: Bruce Evans Message-ID: <20040114072840.GA20363@freebie.xs4all.nl> References: <20040113143823.S63442@root.org> <20040114101757.M3440@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040114101757.M3440@gamplex.bde.org> User-Agent: Mutt/1.4.1i X-OS: FreeBSD 4.9-STABLE X-PGP: finger wilko@freebsd.org cc: current@freebsd.org cc: Nate Lawson Subject: Re: fun with df.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 07:28:56 -0000 On Wed, Jan 14, 2004 at 10:58:35AM +1100, Bruce Evans wrote: > On Tue, 13 Jan 2004, Nate Lawson wrote: > > > On Mon, 12 Jan 2004, Wilko Bulte wrote: > > > My laptop just presented me with a funny one: > > > > > > wkb@chuck ~: df > > > Filesystem 1M-blocks Used Avail Capacity Mounted on > > > /dev/ad0s2g 4032 3842 36028797018963835 104% /usr > > > /dev/ad0s2e 62 6 51 12% /var > > > > > > .... > > > > > > wkb@chuck ~: df -k > > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > > /dev/ad0s2g 4129310 3934638 -135672 104% /usr > > > > > > Oldish 5.x- (Dec 17) > > > > Note the M/K flags. Someone is probably using an unsigned for the M > > printing and a (correct) signed for the K printing. > > I note that there is no -m flag. The 1M blocks apparently come from > statfs(), but that shouldn't happen. There is a export BLOCKSIZE=M instead. -- Wilko Bulte wilko@FreeBSD.org