Filesystem
The layer that turns a pile of numbered blocks into files with names, directories and permissions.
A disk can only store blocks. The filesystem adds the structure: where a file begins and ends, which blocks are free, who owns what, and how names map to contents. Design choices vary sharply — ext4 optimises for general use, XFS for large files and parallel writes, ZFS and Btrfs for integrity checking and snapshots.
Two recurring problems define the field. One is surviving a power cut mid-write, solved by journalling or copy-on-write. The other is fragmentation, less of a concern on SSDs than it was on spinning disks but never entirely gone.