Ext4 vs. Fat32 file allocation
alexandru.juncu.ro
alexandru.juncu.ro
Some of the other details mentioned here are inaccurate as well. In particular, stat() returns both the file length and the size on disk; ls will typically display the length, not the size on disk.