delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/26/05:03:31

From: earnie_boyd AT hotmail DOT com (Earnie Boyd)
Subject: Re: du bug, wrong sizes reported.
26 Jan 1998 05:03:31 -0800 :
Message-ID: <19980126125527.13130.qmail.cygnus.gnu-win32@hotmail.com>
To: fjh AT cs DOT mu DOT OZ DOT AU
Cc: gnu-win32 AT cygnus DOT com


>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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019