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> Content-Type: text/plain 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 >To: Earnie Boyd >Cc: gnu-win32 AT cygnus DOT com >Subject: Re: du bug, wrong sizes reported. > >On 25-Jan-1998, Earnie Boyd wrote: >> >> Fergus Henderson : >> > >> >On 23-Jan-1998, Earnie Boyd wrote: >> >> >> >> "Bruce N. Hunsaker" : >> >> > >> >> >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 | "I have always known that the pursuit >WWW: | 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".