The "inode" in a Unix-like file system is used to:

2025

The "inode" in a Unix-like file system is used to:

  1. A.

    Store the contents of the file

  2. B.

    Store the file’s name and location

  3. C.

    Store the attributes and metadata of the file

  4. D.

    Store the directory structure of the file system

Attempted by 65 students.

Show answer & explanation

Correct answer: C

In a Unix-like file system, an inode stores metadata about a file, such as permissions, owner, size, timestamps, and pointers to the file’s data blocks. The file name is stored separately in a directory entry that maps the name to an inode number. Therefore, the inode is used to store the attributes and metadata of the file.

Explore the full course: Bpsc