CS FundamentalsModerateGATE CS

Match the file-system structure with what it is used for: (1) superblock, (2) inode bitmap, (3) journal, (4) directory entry. (a) maps a name to an inode number; (b) records pending metadata updates for crash recovery; (c) global parameters such as block size and counts; (d) tracks which inodes are free.

  1. A. 1-a, 2-d, 3-b, 4-c
  2. B. 1-c, 2-b, 3-d, 4-a
  3. C. 1-d, 2-c, 3-b, 4-a
  4. D. 1-c, 2-d, 3-b, 4-a

Correct answer: D. 1-c, 2-d, 3-b, 4-a

The superblock describes the whole file system, the inode bitmap tracks free inodes, the journal makes updates crash-consistent, and directory entries bind names to inodes.

More Operating Systems questions

Exams that ask this topic