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 Context Switch - Cost & Causes - Context Switch - Cost & Causes - Quiz 14medium Critical Section Problem - Requirements & Peterson's Solution - Critical Section Problem - Requirements & Peterson's Solution - Quiz 9hard Deadlock - Four Necessary Conditions (Coffman) - Deadlock - Four Necessary Conditions (Coffman) - Quiz 14medium Dining Philosophers - Problem, Deadlock & Solution - Dining Philosophers - Problem, Deadlock & Solution - Quiz 15hard File Allocation Methods - Contiguous, Linked, Indexed - File Allocation Methods - Contiguous, Linked, Indexed - Quiz 13medium Page Replacement - FIFO, LRU, Optimal Algorithm - Page Replacement - FIFO, LRU, Optimal Algorithm - Quiz 3easy Paging vs Segmentation - Address Translation - Paging vs Segmentation - Address Translation - Quiz 7medium Semaphore vs Mutex - When to Use Which - Semaphore vs Mutex - When to Use Which - Quiz 12easy TLB - Translation Lookaside Buffer & Effective Access Time - TLB - Translation Lookaside Buffer & Effective Access Time - Quiz 6medium Thrashing - Working Set Model & Prevention - Thrashing - Working Set Model & Prevention - Quiz 10hard