Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2004 08:28:40 +0100
From:      Wilko Bulte <wkb@freebie.xs4all.nl>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Nate Lawson <nate@root.org>
Subject:   Re: fun with df..
Message-ID:  <20040114072840.GA20363@freebie.xs4all.nl>
In-Reply-To: <20040114101757.M3440@gamplex.bde.org>
References:  <20040113143823.S63442@root.org> <20040114101757.M3440@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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