All mock tests are FREE till 31 December — register to save your progress

Match the following for the UNIX file system:
List I: (A) Boot block (B) Super block (C) Inode block (D) Data block
List II: (I) Contains information about the file system — free block list, free inode list, etc. (II) Contains the operating system files as well as program and data files created by users. (III) Contains the boot program and partition table. (IV) Contains a table entry for every file in the file system, storing file attributes.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. A-III, B-I, C-IV, D-II

Explanation

The boot block sits at the very start of the disk and holds the boot program plus the partition table, matching (III) (A-III). The super block stores filesystem-wide metadata such as the free block list and free inode list, matching (I) (B-I). The inode block holds one table entry per file recording that file's attributes such as size, permissions and pointers to its data blocks, matching (IV) (C-IV). The data block is where the actual OS, program and user files are stored, matching (II) (D-II). This gives A-III, B-I, C-IV, D-II, which is option (ii).

More Database Management Systems questions