du bug, wrong sizes reported.

Fergus Henderson fjh@cs.mu.OZ.AU
Sun Jan 25 20:54:00 GMT 1998


On 25-Jan-1998, Earnie Boyd <earnie_boyd@hotmail.com> wrote:
> 
> Fergus Henderson <fjh@cs.mu.OZ.AU>:
> >
> >On 23-Jan-1998, Earnie Boyd <earnie_boyd@hotmail.com> wrote:
> >> 
> >> "Bruce N. Hunsaker" <bruceh@ns1.ieighty.net>:
> >> >
> >> >du reports sizes in 2k blocks.  It should report sizes using
> >> >a block size of 1k.
> >
> >> No.  The default block size should be 512 bytes.
> >
> >Why?
> 
> du --help
> 
> type this command to get the answer.

According to `man du' on Linux (corrsponding to GNU fileutils 3.12),
it should report sizes using a block size of 1k, unless the environment
variable POSIXLY_CORRECT is set, in which case the default block size
should be 512 bytes.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: < http://www.cs.mu.oz.au/~fjh >   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list