Bird
Raised Fist0

Which of the following statements about inodes is INCORRECT?

medium🐞 Bug Identification Q14 of Q15
Operating Systems - Inode Structure - File Metadata & Block Pointers
Which 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.
Step-by-Step Solution
  1. Step 1: Clarify inode contents

    Inodes store metadata (permissions, timestamps, size) and pointers, but NOT file names.
  2. Step 2: Confirm pointer role

    Inodes contain direct and indirect pointers to data blocks.
  3. Step 3: Understand hard links

    Multiple directory entries can reference the same inode, enabling hard links.
  4. Step 4: Recognize inode size

    Inodes are fixed-size and do not store variable-length file names.
  5. Final Answer:

    Option B -> Option B
  6. Quick Check:

    File names are stored in directory entries, not inodes [OK]
Quick Trick: Inode = metadata + pointers; directory entry = file name + inode number
Common Mistakes:
MISTAKES
  • Assuming inodes store file names
  • Confusing directory entries with inodes
  • Believing inode size varies with file name length
Trap Explanation:
PITFALL
  • Option A is a common misconception that inodes contain file names. Options B, C, and D correctly describe inode properties.
Interviewer Note:
CONTEXT
  • Checks candidate's grasp of inode structure and the separation of file names from metadata.
Master "Inode Structure - File Metadata & Block Pointers" in Operating Systems

2 interactive learning modes - each teaches the same concept differently

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Operating Systems Quizzes