Bird
0
0

What does it imply if two filenames in the same filesystem share the same inode number?

easy📝 Conceptual Q2 of 15
Linux CLI - Disk and Storage
What does it imply if two filenames in the same filesystem share the same inode number?
AThey are files stored on different partitions
BThey are symbolic links to different files
CThey are duplicate files with identical content
DThey are hard links pointing to the same file content
Step-by-Step Solution
Solution:
  1. Step 1: Understand inode sharing

    Two filenames with the same inode number indicate hard links, meaning they reference the same underlying file data.
  2. Step 2: Differentiate from symbolic links

    Symbolic links have different inodes and point to the filename, not the inode.
  3. Final Answer:

    They are hard links pointing to the same file content -> Option D
  4. Quick Check:

    Same inode = hard links, not symlinks [OK]
Quick Trick: Same inode means hard links, not symlinks [OK]
Common Mistakes:
  • Confusing hard links with symbolic links
  • Assuming same inode means duplicate files
  • Thinking files are on different partitions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes