[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: % keys for st_blocks and st_size

From: James Youngman
Subject: Re: % keys for st_blocks and st_size
Date: Mon, 24 Mar 2008 22:40:31 +0000

On Mon, Mar 24, 2008 at 10:23 PM,  <address@hidden> wrote:
> >>>>> "JY" == James Youngman <address@hidden> writes:
>  JY> On Sun, Mar 23, 2008 at 9:29 PM,  <address@hidden> wrote:
>  >> `%S'
>  >> File's sparseness.  This is calculated as `(BLOCKSIZE*st_blocks /
>  >> st_size)'.
>  >>
>  >> OK, but then mention the -printf % keys for st_blocks and st_size!
>  JY> They're already mentioned in the documentation, though.
>  That's good to know, but the user does not know this.
>  Maybe %S is calculated from other % items.
>  So then the paragraph should read:
>    This is calculated as "%Z * %X / %Y"
>  with of course the actual % letters.

If you read the manpage, you'll notice that a statement of that form
is not possible, since the paragraph you quoted goes on to say "The
value used for BLOCKSIZE is system-dependent, but is usually 512
bytes."   That means that the explanation can't use %b, because that
may not be the same thing as st_blocks.

If you would like to propose some specific replacement text, we can
try to figure out something which is both accurate and responsive to
your original comment.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]