我很难找到这个问题的答案
mount --bind 是否在重启后持续存在?
在我的 CentOS 上,它看起来没有,所以我在 rc.local 中放置了适当的 mount --bind 调用。
如何执行 mount --bind 以避免 rc.local 场景?
nab*_*ond 32
在 /etc/fstab 中为绑定挂载创建一个条目。下面是一个例子。
/path/to/source/dir /path/to/mount/point none bind 0 0
| 归档时间: |
|
| 查看次数: |
18439 次 |
| 最近记录: |