Broadcom interview question

How to prevent memory fragmentation while developing file system for Flash Memory?

Interview Answer

Anonymous

21 Apr 2015

I built a journaling filesystem that, once all flash memory was in use, overwrote the oldest sector with the latest data to be recorded. Each record immediately followed the previous one, with no space wasted.