猿问

Debian中设置了启动时自动挂载磁盘失败会怎么样?

在Debian中设置启动时自动挂载磁盘,即修改/etc/fstab,追加一行:

/dev/sda2 /nas hfsplus defaults 0  0

开机自动挂载/dev/sda2 到 /nas。

假如,把这块硬盘拔掉,那么会发生什么?还能启动吗?


尚方宝剑之说
浏览 1261回答 1
1回答

阿波罗的战车

如果使用了 nofail 选项,则不会影响启动,参考 Mount an external drive at boot time only if it is plugged in
随时随地看视频慕课网APP

相关分类

MySQL
我要回答