[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: man du versus BLOCKSIZE
Hello!
On Tue, 5 May 1998, Austin Hook wrote:
> [...]
> Is it reasonable for me to submit small correction as a man page bug (via
> sendbug)?
It is, IMHO. The Description of -k should read something like this:
Current version:
-k By default, du displays the number of blocks as returned by the
stat(2) system call, i.e. 512-byte blocks. If the -k flag is
specified, the number displayed is the number of 1024-byte
blocks. Partial numbers of blocks are rounded up.
New version:
-k By default, du displays the number of blocks as returned by
the stat(2) system call, i.e. 512-byte blocks, unless
the environment variable BLOCKSIZE is set (see below).
If the -k flag is specified, the number displayed is the
number of 1024-byte blocks. Partial numbers of blocks are
always rounded up.
A similar change will be necessary to df(1).
Regards, Felix.