Which of the following is correct when talking about mount points?

A. Every existing directory can be used as a mount point.
B. Only empty directories can be used as a mount point.
C. Directories need to have the SetUID flag set to be used as a mount point.
D. Files within a directory are deleted when the directory is used as a mount point.

題解

選項 A,正確。

選項 B,所有目錄都可以被當作掛載點。

選項 C,掛載點和 SetUID (SUID)並沒有關聯。

選項 D,原先在掛載點目錄下的檔案並不會被刪除。