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路徑。