GATE / CS ARCHIVE

GATE CSE 1993 / QUESTION 7.8

Locating a filesystem root directory

Operating Systems · File Systems · Full GATE CSE 1993 paper

GATE 1993, Q7.8 2 marks · MSQ
Report issue

File Systems

Question 7.8, GATE 1993: Where should the root directory be placed: (A) fixed address in main memory, (B) fixed location on its disk, (C) anywhere on its disk, (D) fixed location on the system disk, or (E) anywhere on the system disk?
Tap to enlarge
Select all that apply
Answer & solution

Answer: B for a fixed-root layout; a discoverable pointer permits arbitrary placement (no official key was published)

The filesystem must be able to locate its root from known metadata. In a simple fixed-root layout this is achieved by placing the root at a predefined disk location, giving B; each disk or filesystem can have its own root, so it need not reside on a separate system disk. Modern designs can instead store a root block or inode pointer in a discoverable superblock, allowing the root itself to be elsewhere. Thus fixed placement is one implementation convention, not a universal requirement. A fixed RAM address does not establish persistent disk organization.

Original paper, page 8