3 ms·
> On ext4, a file of 160 bytes or less (and no xattrs) can be stored inline in the inode[1], so the whole thing takes up 256 bytes (plus 8 + [length of filename
by temac 4y ago
> On ext4, a file of 160 bytes or less (and no xattrs) can be stored inline in the inode[1], so the whole thing takes up 256 bytes (plus 8 + [length of filename] for the directory entry).
It can if you enable an option that is not widely used, IIRC.
- mananaysiempre 4y agoHuh, right you are: the inline_data feature is from 3.8 (2013), but apparently tune2fs couldn’t enable it on a live filesystem for some time after that, and it’s still not on by default. (I remembered seeing the feature in the format description, but did not think it would actually be unused in most cases.)