How does free-space management work using a bit vector versus a linked list?

Last updated 5 July 2026

  • Bit vector (bitmap): one bit per disk block marks free or allocated. It makes finding free and contiguous blocks fast, but the whole map ideally stays in memory.

  • Linked list: each free block points to the next, and only the head is stored. Overhead is almost zero, but finding contiguous space is hard and traversal needs many disk reads.

  • Optimizations for lists: grouping (first free block stores many free addresses) and counting (store runs as start block plus count).

  • https://www.geeksforgeeks.org/operating-systems/free-space-management-in-operating-system/
  • https://bscbcanotes.wordpress.com/2024/09/17/free-space-management/
  • https://www.tutorialspoint.com/operating_system/os_free_space_management.htm
  • https://medium.com/@thealonemusk/the-ultimate-last-minute-operating-systems-interview-prep-guide-a60539a45eeb
  • https://mohitmishra786.github.io/exploring-os/src/day-28-free-space-management.html
  • https://medium.com/@drajput_14416/free-space-management-in-operating-systems-a-deep-dive-9cb338273198
All Operating Systems interview questions