GNU bug report logs - #49994
upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Wed, 11 Aug 2021 06:58:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: L A Walsh <coreutils <at> tlinx.org>
To: eggert <at> cs.ucla.edu, 49994 <at> debbugs.gnu.org
Subject: bug#49994: upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"
Date: Sun, 15 Aug 2021 21:26:26 -0700

On 2021/08/15 21:00, Paul Eggert wrote:
> On 8/15/21 4:13 PM, L A Walsh wrote:
>> Hmm...  for libc.so, ls -l shows 253 bytes
>> for -s, it shows '4' and w/block-size=1, it shows
>> 4096...
> 
> Right. That is, those numbers look right.
----
	But I'm specifying a block size of 1 byte, to determine
what size it would take up on a device that allocates in 'bytes'.
I don't want to display the allocated size on the current device,
but the size that would be allocated on a device with block-size=1-byte.





This bug report was last modified 3 years and 302 days ago.

Previous Next


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