Which of the following statements is true regarding the NFSv4 pseudo file system on the NFS server?
A. It must be called /exports
B. It usually contains bind mounts of the directory trees to be exported
C. It must be a dedicated partition on the server
D. It is defined in the option Nfsv4-Root in /etc/pathmapd.conf
E. It usually contains symlinks to the directory trees to be exported
题解
选项 A,错误,「/exports」只是惯用而已。
选项 B,正确,透过「mount」指令加上「--bind」参数来进行绑定挂载,可以调整 NFS 的目录结构。
选项 C,错误,NFSv4 支持任意目录的分享,也就是因为要达成这个目的才会有「pseudo file system」。
选项 D,错误,根本没有「/etc/pathmapd.conf」文件。
选项 E,错误,通常会使用绑定挂载,用符号链接的话,最终还是会去使用到实际的路径作为 NFS 路径。
