CS FundamentalsModerateGATE CS
Which statement about mounting is correct?
- A. Mounting copies the device's files into the mount point
- B. Mounting attaches a file system's root at a directory (mount point) of the existing tree; files previously under that directory are hidden until unmount
- C. A mount point must be an empty file
- D. Only one file system can be mounted at a time
Correct answer: B. Mounting attaches a file system's root at a directory (mount point) of the existing tree; files previously under that directory are hidden until unmount
The mount table redirects path lookups at the mount point to the mounted file system's root, so the original contents are masked, not deleted.
More Operating Systems questions
- 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?
- What is the main purpose of the I/O MMU (IOMMU) in modern systems?
- A process holds a spinlock and is preempted on a single-CPU system; the next scheduled thread tries to take the same spinlock. What…