以下内容在我的/etc/fstab
文件中:
UUID=596ac80a-5571-41dc-a00e-b3270ecfe7c4 / ext3 errors=remount-ro 0 1
/dev/sdb1 /home/teamspeak/ts3/files/virtualserver_1/channel_527 ext3 nofail,auto,noatime,rw,user 0 0
tmpfs /var/log tmpfs nofail,defaults,noatime,mode=0755,size=5M 0 0
但/dev/sdb1
不会在启动时安装(如果我写mount
它不会显示在列表中),但如果我然后写它就会出现mount -a
编辑它是一个 USB 设备,并且需要存在选项 nofail,因为它可以防止机器在拔出并重新启动时停止。尝试了 _netdev 选项,但没有成功。
启动后立即 dmesg | tail
输出
[ 8.774931] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 8.775036] sdb: sdb1
[ 9.115231] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 9.115336] sd 2:0:0:0: [sdb] Attached SCSI removable disk
然后,在mount -a
添加之后:
[ 2037.473279] kjournald starting. Commit interval 5 seconds
[ 2037.475895] EXT3 FS on sdb1, internal journal
[ 2037.475916] EXT3-fs: mounted filesystem with ordered data mode.