Understanding FAT16 - Interactive filesystem explainer

Show HN: Understanding FAT16 – an interactive filesystem explainer

Understanding FAT16 - Interactive filesystem explainer

Understanding FAT16 is an interactive web explainer that takes you inside one of computing's most persistent filesystems. Through hands-on demos, you can format a virtual disk, tweak cluster sizes, and watch the boot sector bytes change in real time. The guide covers FAT16's history from floppy disks to modern memory cards, explains its anatomy—boot sector, FAT, root directory, and data area—and lets you poke at the machinery while it's running. It's a must-read for developers curious about how filesystems actually work under the hood.

The filesystem, in its omnipresence, is mostly invisible. 'What the hell is water?' as the fish asks. The short answer is that it's a subtle, understated jewel.
  1. compiler-guy

    Terrific, reminded me of many nights watching norton do its thing.

    A bonus for the game might be to defrag in such a way that the free space is all contiguous. I seem to recall that all files were moved to the lowest cluster numbers, which maximizes contiguous free space at the end.

    Anyway brought back some good memories.

  2. lock1

    Man, reminds me of my TA days. Staring at Microsoft FAT specification docs, designing FAT-like toy FS, writing manim code manually.

    Looking at this project, I'm tempted to revisit & rewrite my TA guidebook using LLM assistance for interactive visualization.

    Cool work

  3. fuzzfactor

    >Would love to hear corrections

    You presented good info quite well and I am impressed :)

    More understanding please ;)

    This is not meant to be harsh but I would bring the terminology up to the next level at least.

    That's a little correction but mostly "color" from me :)

    A "disk" is actually most correctly a single piece of hardware, basically otherwise known equally correctly as a "drive". Probably why they call them HDDs and SSDs ;)

    Unfortunately both terms were spread conventionally by Microsoft as interchangeably poor substitutes for the more accurate terms "partition" and "volume". At one time those who were fortunate enough to even have a HDD were taught to refer to it as their "C:" drive. "A:" and "B:" were certainly always floppy hardware drives by definition, regardless of which drive you inserted a floppy disk into, and that basic terminology logic was simply extended when you got the long-coveted HDD, so that worked somewhat as a learning shortcut. You have addressed this pretty well by skipping over the partitioning stuff, I don't blame you a bit ;)

    But at the time it's also as if it was not possible to end up having up to 4 bootable primary partitions per HDD, each independently containing your choice of folders & files somewhat like a 4-drawer filing cabinet. Whether you chose to put a bootable fileset having a different OS on each partition, or merely use one or more partitions for plain ordinary storage was supposed to be your choice. On powerup I kinda li […]

More from this day

2026-12-01