CS FundamentalsModerateGATE CS
An inode stores the file size, block pointers, permissions, owner and timestamps. Which of these is NOT stored in the inode in a classic Unix file system?
- A. The link count
- B. The file's size
- C. The access permissions
- D. The file's name
Correct answer: D. The file's name
Names live in directory entries that map names to inode numbers; this is what allows multiple hard links with different names to one inode.
More Operating Systems questions
- A directory has 3 entries named a, b and c that are hard links to the same inode, and the directory itself has 2 subdirectories. What are…
- Which statement about mounting is correct?
- The virtual file system (VFS) layer in Unix-like kernels exists mainly to:
- Which kind of I/O call returns immediately and later notifies the process (e.g. via a signal, callback or completion queue) when the data…
- An interrupt handler is split into a top half and a bottom half (e.g. softirq, tasklet, workqueue). Why?
- Which is a valid reason for a device driver to use polling instead of interrupts?