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,原先在挂载点目录下的文件并不会被删除。