Operating Systems · Pro · Topic 3 of 4
File Systems & Disk Scheduling
4 questions.
Your progress0%
- 1st Visit
- 0/4
- 2nd Visit
- 0/4
- Revise
- 0/4
Overview
A file system organises data on a storage device into files and directories. On Unix-like systems, each file is described by an inode that holds its metadata and block pointers, while directories map file names to inode numbers; this design explains how hard and soft links behave. The file system also decides how blocks are allocated: contiguously, as a linked list or through an index block. On hard disks, the slowest part of an access is moving the read/write head, so disk scheduling algorithms such as FCFS, SSTF, SCAN and C-SCAN order requests to reduce head movement. Expect questions on inodes, links, allocation methods and disk scheduling calculations.
Questions
| # | Problem | Platform | Difficulty | Open | 1st1st Visit | 2nd2nd Visit | RevRevise |
|---|---|---|---|---|---|---|---|
| 1 | What is an inode, and what information does it store? | Concept | Medium | Read the answer to What is an inode, and what information does it store? | |||
| 2 | How do directories map file names to inodes, and what is the difference between a hard link and a soft link? | Concept | Medium | Read the answer to How do directories map file names to inodes, and what is the difference between a hard link and a soft link? | |||
| 3 | What are the contiguous, linked and indexed file allocation methods? | Concept | Medium | Read the answer to What are the contiguous, linked and indexed file allocation methods? | |||
| 4 | Compare FCFS, SSTF, SCAN and C-SCAN disk scheduling. | Concept | Hard | Read the answer to Compare FCFS, SSTF, SCAN and C-SCAN disk scheduling. |