Re: [PATCH] doc: du - clarify default blocksize in usage/manpage
From:
Ondřej Vašík
Subject:
Re: [PATCH] doc: du - clarify default blocksize in usage/manpage
Date:
Wed, 09 Sep 2009 16:01:59 +0200
Eric Blake wrote:
> According to Ondřej Vašík on 9/9/2009 2:19 AM:
> > Hello,
> > as requested via https://bugzilla.redhat.com/show_bug.cgi?id=511188 , it
> > would be nice to clarify default blocksize used by du in manpage/--help
> > output. Although I closed that bugzilla as notabug, further
> > communication via private emails convinced me to propose that change to
> > upstream.
> > As it breaks translation strings, I guess it would be better to postpone
> > commit after 7.6 (if accepted).
>
> The default block size depends on POSIXLY_CORRECT (which requires 512, not
> 1024) and on BLOCK_SIZE (which the user can set to a different size).
> Maybe a better thing to do would be adding a blurb about environment
> variables that affect block size.
I knew about that, but tried to keep it simple. But you are right,
keeping it simple might be even more confusing.
> Also, df and ls need the same treatment, whatever we decide to do.
Good, point. Added blurb about the environment variables to all of those
utilities.
Greetings,
Ondřej