Hacker News new | ask | show | jobs
by kwhitefoot 658 days ago
I'm pretty sure that there have been disk formats that only write files to consecutive sectors just like memory allocators that only return contiguous blocks of memory.

Then you need frequent compaction of the space because it ends up full of small unallocated blocks.

See https://www.geeksforgeeks.org/file-allocation-methods/