Hacker News

Show HN: Understanding FAT16 – an interactive filesystem explainer

24 points by giant_fern ago | 2 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 |next [-]

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.

abeauvois |next |previous [-]

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.

precious_reads |previous [-]

[flagged]