bug#10755: stat: Please add directive to display size on disk

2012-02-07 Thread Filipus Klutiero
The other day I tried figuring out how much disk space a small file took. I used stat, but I only realized today that stat does not provide that information directly, as explained by Eric Blake and Pádraig Brady in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10561 This information is

bug#10755: stat: Please add directive to display size on disk

2012-02-07 Thread Paul Eggert
On 02/07/2012 12:10 PM, Filipus Klutiero wrote: Size on disk We don't know it's a disk drive; it might be any storage device that contain a file system. Perhaps a better shorthand string would be Allocation? That's even shorter, and it conveys what's going on.

bug#10755: stat: Please add directive to display size on disk

2012-02-07 Thread Filipus Klutiero
On 2012-02-07 15:54, Paul Eggert wrote: On 02/07/2012 12:10 PM, Filipus Klutiero wrote: Size on disk We don't know it's a disk drive; it might be any storage device that contain a file system. I agree. I see an advantage in using the term Size on disk: it is well known from Windows (