Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the following is not a valid kernel data structure in Linux ?

  • A.File descriptor table
  • B.File table
  • C.I-node table
  • D.Sector table

Answer: D

The structure that is not a Linux kernel data structure is the Sector table.

For open files the kernel keeps three levels of tables: a per-process file descriptor table, a system-wide open file table holding the file offset and access mode, and an in-memory inode table holding the inodes of the open files.

Sectors are handled by the block device layer and the disk driver, which address blocks directly; there is no kernel 'sector table' alongside the other three, so it is the odd one out.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.