Which item is typically not stored in an inode in a Unix-like filesystem?

Prepare for the GATE General Aptitude and CS Test. Enhance your skills with multiple choice questions and detailed explanations. Elevate your readiness and boost your confidence for the exam!

Multiple Choice

Which item is typically not stored in an inode in a Unix-like filesystem?

Explanation:
Inodes hold the file’s metadata: permissions (the mode bits), size in bytes, the owner’s user ID, timestamps, and pointers to the data blocks that actually store the file contents. The file name isn’t kept in the inode itself. Directory entries map a textual name to an inode number, so the same inode can be reached by different names (via hard links) and the file’s label is kept separate from its attributes. That separation is why the item not stored in an inode is the file name.

Inodes hold the file’s metadata: permissions (the mode bits), size in bytes, the owner’s user ID, timestamps, and pointers to the data blocks that actually store the file contents. The file name isn’t kept in the inode itself. Directory entries map a textual name to an inode number, so the same inode can be reached by different names (via hard links) and the file’s label is kept separate from its attributes. That separation is why the item not stored in an inode is the file name.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy