GNU bug report logs - #15308
ls -lk reports bytes, not kibytes

Previous Next

Package: coreutils;

Reported by: Bruce Dubbs <bruce.dubbs <at> gmail.com>

Date: Sun, 8 Sep 2013 16:16:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 15308 <at> debbugs.gnu.org (full text, mbox):

From: Bruce Dubbs <bruce.dubbs <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 15308 <at> debbugs.gnu.org
Subject: Re: bug#15308: ls -lk reports bytes, not kibytes
Date: Sun, 08 Sep 2013 13:43:33 -0500
Paul Eggert wrote:
> Bruce Dubbs wrote:
>> I'm not sure what you are saying.  Is 'ls -lk' valid or not?
>
> Yes, it's valid.
>
>> I don't know what 'per-directory block counts' means.
>
> It's what's in the first line of output of "ls -l".
>
> $ ls -l
> total 5936
> ...
>
>> 'ls -lks file'  produces bytes
>
> It produces block counts in column 1, bytes in column 6.
> '-k' affects the former, not the latter.  -k is the default
> unless your environment has special settings, so normally
> specifying -k won't change the output.

OK, thanks Paul.  I still think the man page could use some clarification.

  -- Bruce





This bug report was last modified 6 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.