Mount Point

Mount point 是 existing namespace 中用來接上另一個 file system 的 directory。Volume mount 到此處後,該 volume 的 root directory 會出現在這個 path。

行為

Path traversal 走到 mount point 時,kernel 不再讀原本 directory 的內容,而是依 mount table 切到 mounted file system 的 root vnode / inode。最清楚的用法是 mount 到 empty directory。

Non-empty mount point

有些 OS 允許 mount over non-empty directory。原本 subtree 不會被刪除,只是在 mount 期間被 obscured;unmount 後又可見。這是 namespace overlay,不是 destructive operation,但容易讓管理者誤判資料消失。

Repeated mounts

同一 file system 有些 OS 可 mount 到多個 paths,有些禁止。允許 repeated mounts 提供多個 namespace views;代價是 path-based identity、cache consistency、permission reasoning 變難。