Mail Archives: cygwin/1998/01/26/05:03:31
>Date: Mon, 26 Jan 1998 15:53:58 +1100
>From: Fergus Henderson <fjh AT cs DOT mu DOT OZ DOT AU>
>To: Earnie Boyd <earnie_boyd AT hotmail DOT com>
>Cc: gnu-win32 AT cygnus DOT com
>Subject: Re: du bug, wrong sizes reported.
>
>On 25-Jan-1998, Earnie Boyd <earnie_boyd AT hotmail DOT com> wrote:
>>
>> Fergus Henderson <fjh AT cs DOT mu DOT OZ DOT AU>:
>> >
>> >On 23-Jan-1998, Earnie Boyd <earnie_boyd AT hotmail DOT com> wrote:
>> >>
>> >> "Bruce N. Hunsaker" <bruceh AT ns1 DOT ieighty DOT 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.
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
environment variable.
>
>--
>Fergus Henderson <fjh AT cs DOT mu DOT oz DOT 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 AT 128 DOT 250 DOT 37 DOT 3 | -- the last words of T. S.
Garp.
>
Thanks, Fergus, for setting me straight.
- \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd AT hotmail DOT com-
------ooo0O--O0ooo-------
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -