Subject: Re: Suggestion for changes to df(1) and du(1)
To: Greywolf <greywolf@starwolf.com>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-userlevel
Date: 11/19/2001 14:57:23
Greywolf wrote:

> why not just set BLOCKSIZE to 1M when running df/du?

Notice how Tomas' output has different suffixes for different sizes:

> # > Filesystem    Size   Used  Avail Capacity  Mounted on
> # > /dev/wd0a      97M    31M    61M    33%    /
> # > /dev/wd0e      97M   4.7M    88M     5%    /var
> # > /dev/wd0g     2.8G   1.5G   1.2G    54%    /usr
> # > /dev/wd0f      97M   1.0K    92M     0%    /tmp
> # > /dev/wd0h     1.8G   297M   1.4G    17%    /home
> # > /dev/fd0a     1.4M   636K   787K    44%    /mnt

We want 2.8G to show up as 2.8G, not 2800M.

Or is this not what you meant?

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/