Operating Systems - Inode Structure - File Metadata & Block PointersWhich of the following statements about inodes is INCORRECT?AInodes store pointers to data blocks that hold the file's actual content.BAn inode contains the file's name and its metadata such as permissions and timestamps.CMultiple directory entries can point to the same inode, enabling hard links.DInodes are fixed-size structures that do not store file names.Check Answer
Step-by-Step SolutionStep 1: Clarify inode contentsInodes store metadata (permissions, timestamps, size) and pointers, but NOT file names.Step 2: Confirm pointer roleInodes contain direct and indirect pointers to data blocks.Step 3: Understand hard linksMultiple directory entries can reference the same inode, enabling hard links.Step 4: Recognize inode sizeInodes are fixed-size and do not store variable-length file names.Final Answer:Option B -> Option BQuick Check:File names are stored in directory entries, not inodes [OK]Quick Trick: Inode = metadata + pointers; directory entry = file name + inode numberCommon Mistakes:MISTAKESAssuming inodes store file namesConfusing directory entries with inodesBelieving inode size varies with file name lengthTrap Explanation:PITFALLOption A is a common misconception that inodes contain file names. Options B, C, and D correctly describe inode properties.Interviewer Note:CONTEXTChecks candidate's grasp of inode structure and the separation of file names from metadata.
Master "Inode Structure - File Metadata & Block Pointers" in Operating Systems2 interactive learning modes - each teaches the same concept differentlySolutionTrace
More Operating Systems Quizzes Disk Scheduling - SSTF, SCAN, C-SCAN - Disk Scheduling - SSTF, SCAN, C-SCAN - Quiz 5medium Internal vs External Fragmentation - Compaction & Buddy System - Internal vs External Fragmentation - Compaction & Buddy System - Quiz 10hard Page Replacement - FIFO, LRU, Optimal Algorithm - Page Replacement - FIFO, LRU, Optimal Algorithm - Quiz 10hard Starvation vs Deadlock vs Livelock - Differences & Examples - Starvation vs Deadlock vs Livelock - Differences & Examples - Quiz 11easy System Call - Mechanism & Modes (User vs Kernel) - System Call - Mechanism & Modes (User vs Kernel) - Quiz 4medium TLB - Translation Lookaside Buffer & Effective Access Time - TLB - Translation Lookaside Buffer & Effective Access Time - Quiz 9hard Thrashing - Working Set Model & Prevention - Thrashing - Working Set Model & Prevention - Quiz 9hard Thrashing - Working Set Model & Prevention - Thrashing - Working Set Model & Prevention - Quiz 2easy Thrashing - Working Set Model & Prevention - Thrashing - Working Set Model & Prevention - Quiz 14medium Thrashing - Working Set Model & Prevention - Thrashing - Working Set Model & Prevention - Quiz 13medium