This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: du bug, wrong sizes reported.
- To: Earnie Boyd <earnie_boyd at hotmail dot com>
- Subject: Re: du bug, wrong sizes reported.
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Date: Mon, 26 Jan 1998 15:53:58 +1100
- Cc: gnu-win32 at cygnus dot com
- References: <19980126041507.1174.qmail@hotmail.com>
On 25-Jan-1998, Earnie Boyd <earnie_boyd@hotmail.com> wrote:
>
> Fergus Henderson <fjh@cs.mu.OZ.AU>:
> >
> >On 23-Jan-1998, Earnie Boyd <earnie_boyd@hotmail.com> wrote:
> >>
> >> "Bruce N. Hunsaker" <bruceh@ns1.ieighty.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@cs.mu.oz.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@128.250.37.3 | -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".