GNU bug report logs - #15056
Please indicate the meaning of block sizes in filesystem information

Previous Next

Package: coreutils;

Reported by: Filipus Klutiero <chealer <at> gmail.com>

Date: Fri, 9 Aug 2013 04:36:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Filipus Klutiero <chealer <at> gmail.com>
Cc: 15056 <at> debbugs.gnu.org
Subject: bug#15056: Please indicate the meaning of block sizes in filesystem information
Date: Fri, 09 Aug 2013 05:53:32 +0100
On 08/09/2013 05:35 AM, Filipus Klutiero wrote:
> Severity: wishlist
> 
> stat -f provides information on the filesystem, including block sizes:
>> Block size: 4096       Fundamental block size: 4096
> The unit used in unfortunately not specified. Considering the fdisk output I get...
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
> ... I guess bits are the unit.

always bytes

There are generally 3 layers of block sizes between the file system and device:

1. physical	defined by the hardware device
2. logical		the smallest addressable unit used for the device
3. file system	ditto for the file system

So your numbers above are not the same item being represented.
They're all in bytes and represent different values 1,2,3 above

thanks,
Pádraig.




This bug report was last modified 12 years and 14 days ago.

Previous Next


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