Show HN: Understanding FAT16 – an interactive filesystem explainer
44 points by giant_fern 3 days ago | 3 comments
I made this explorable explanation of the FAT16 filesystem. This was largely to satisfy my own childhood curiosity about the defrag screen, but I thought others might appreciate it too.

It's very text heavy but there are a number of interactive pieces that let you make changes, read files, and see the underlying bytes. The first one is in section 2.

There's also a minigame at the end where you can defragment a disk by hand.

Would love to hear corrections, feedback, or just historical color.


compiler-guy 3 hours ago
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.

reply
Firehawke 20 minutes ago
Correct. You'd prefer a full defragment putting free space at the end so that new files written to the drive have a much higher chance of not being fragmented from the start. It often takes a fair bit longer to do a full defrag, though, so most people went with quick defrags and only used full when the free space was getting too fragmented.
reply
abeauvois 2 days ago
such an emotion! Amiga, FAT16 & 32 ...colored DOS screen, I remember the boot viruses that used to change the first pointer to the boot code. The FAT backup saved my day several times.
reply
reactor3d 32 minutes ago
[dead]
reply
precious_reads 3 days ago
[flagged]
reply