CS FundamentalsModerateGATE CS

The virtual file system (VFS) layer in Unix-like kernels exists mainly to:

  1. A. Encrypt all files
  2. B. Implement RAID
  3. C. Replace the buffer cache
  4. D. Provide one interface (vnode/inode objects with operation tables) so system calls work the same over ext4, NFS, FAT and others

Correct answer: D. Provide one interface (vnode/inode objects with operation tables) so system calls work the same over ext4, NFS, FAT and others

VFS dispatches open, read, write and so on to file-system-specific implementations through function pointer tables, allowing heterogeneous file systems in one namespace.

More Operating Systems questions

Exams that ask this topic