3 ms·
> They are all rounded up to 512 or 4096 bytes by your filesystem. Not always. Some filesystems allow small files to be compacted into other structures: the MT
by dspillett 4y ago
> They are all rounded up to 512 or 4096 bytes by your filesystem.
Not always. Some filesystems allow small files to be compacted into other structures: the MTF can hold small in NTFS, ext* and btrfs support similar inlining of data in inodes for small files, other filesystems (ZFS, Reiser, btrfs again) support more general sub-block allocation (with techniques such as tail packing or block sub-division). Sometimes this is only for small files not “oddly” sized larger files, but things like tail packing can apply to the latter too.