[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17838: ls: unit displayed for block size when if size is displayed i
bug#17838: ls: unit displayed for block size when if size is displayed in human-readable format
Mon, 23 Jun 2014 13:17:09 +0200
ls utility currently displays suffix representing unit in blocks column if
--size is combined with --human-readable. For example:
$ ls -l -sh /tmp/foo
4.0K -rw-r--r--. 1 root root 6 Jun 23 11:32 foo
Suffix K in the output shown doesn't seem correct and implies false information.
Moreover if size of file is bigger say 1M then suffix used for blocks column
would be M. Looks like if file is small enough and no suffix is shown in size
column then suffix K is implied for # blocks column.
$ rpm -q coreutils
I contacted downstream maintainer first and this behavior shouldn't be caused by
downstream patch, therefore reporting here.
Please disregard this report if this is expected or bug is already reported.
- bug#17838: ls: unit displayed for block size when if size is displayed in human-readable format,
Michal Sekletar <=