← Operating Systems learning pathOperating Systems · Module 8 of 10
File systems and storage
Organise data on disks.
📖 Key ideas
- File systems organise files and directories: NTFS, ext4, APFS, FAT32.
- Allocation methods: contiguous, linked, indexed.
- Directory structures: single-level, tree, graph.
- Disk scheduling: FCFS, SSTF, SCAN, C-SCAN.
- Permissions protect files.
💡 Real-life example: A file system is a library catalogue: it knows which shelf (disk block) every book (file) sits on.
File systemMethod of storing files
InodeUnix file metadata structure
Indexed allocationIndex block lists file blocks
SCANElevator disk scheduling