du bug, wrong sizes reported.
Mon Jan 26 04:56:00 GMT 1998
>Date: Mon, 26 Jan 1998 15:53:58 +1100
>From: Fergus Henderson <email@example.com.OZ.AU>
>To: Earnie Boyd <firstname.lastname@example.org>
>Subject: Re: du bug, wrong sizes reported.
>On 25-Jan-1998, Earnie Boyd <email@example.com> wrote:
>> Fergus Henderson <firstname.lastname@example.org.OZ.AU>:
>> >On 23-Jan-1998, Earnie Boyd <email@example.com> wrote:
>> >> "Bruce N. Hunsaker" <firstname.lastname@example.org>:
>> >> >
>> >> >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.
>> 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.
OK. I just took a look at the fileutils.info file and it says the same
thing. However, du --help doesn't really say, other than inferences
with the descriptions of the -k and -m switches. And, when I looked at
du on AIX UNIX it reported 512k blocks and no POSIXLY_CORRECT
>Fergus Henderson <email@example.com> | "I have always known that the
>WWW: < http://www.cs.mu.oz.au/~fjh > | of excellence is a lethal
>PGP: finger firstname.lastname@example.org | -- the last words of T. S.
Thanks, Fergus, for setting me straight.
Get Your Private, Free Email at http://www.hotmail.com
For help on using this list (especially unsubscribing), send a message to
"email@example.com" with one line of text: "help".
More information about the Cygwin