Operating Systems

Table of Contents

File system layout

on real disk, there are number of partitions (primary, extended, subpartitions). each partition can hold different filesystem

one partition is flagged as ‘active’ partition. MBR has boot code to locate active primary partition and execute boot block

partitions: primary, extended, and subpartitions

How to store files on disk

contiguous allocation:

block-based (logically contiguous, but actually stored anywhere on disk):

How to implement directories

 

FAT layout:

UNIX dir entry:

how to manage disk space