[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15056: Please indicate the meaning of block sizes in filesystem info
From: |
Pádraig Brady |
Subject: |
bug#15056: Please indicate the meaning of block sizes in filesystem information |
Date: |
Fri, 09 Aug 2013 05:53:32 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
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.