delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/25/20:55:24

From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson)
Subject: Re: du bug, wrong sizes reported.
25 Jan 1998 20:55:24 -0800 :
Message-ID: <19980126155358.06920.cygnus.gnu-win32@mundook.cs.mu.OZ.AU>
References: <19980126041507 DOT 1174 DOT qmail AT hotmail DOT com>
Mime-Version: 1.0
To: Earnie Boyd <earnie_boyd AT hotmail DOT com>
Cc: gnu-win32 AT cygnus DOT com

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.

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