linux sw是mount里面的選項(xiàng),sw應(yīng)該是自動(dòng)掛載的可讀寫(xiě)分區(qū),而mount的選項(xiàng)“-s Tolerate sloppy mount options rather than failing…”意思是說(shuō)可以忽略錯(cuò)誤的選項(xiàng),這個(gè)選項(xiàng)是為自動(dòng)掛載設(shè)計(jì)的。
本教程操作環(huán)境:linux5.9.8系統(tǒng)、DELL G3電腦
linux sw是什么?
linux下 /etc/fstab 中的option選項(xiàng)sw什么意思
問(wèn)題描述:
/etc/fstab文件中UUID=ac27f491-8dae-43b2-80ed-f17f4cdefaednone swap sw 0 0這里面的sw是什么意思
回答:
這個(gè)選項(xiàng)是mount 里面的選項(xiàng),單獨(dú)看fstab是不能說(shuō)明問(wèn)題的。
先截圖man mount :
1)這里mount的選項(xiàng):
-s Tolerate sloppy mount options rather than failing. This will ignore mount options not supported by a filesystem type. Not all filesystems support this option. This option exists for support of the Linux autofs-based automounter.
登錄后復(fù)制
意思是說(shuō)可以忽略錯(cuò)誤的選項(xiàng),這個(gè)選項(xiàng)是為自動(dòng)掛載設(shè)計(jì)的。
-w, --rw Mount the filesystem read/write. This is the default. A synonym(同義詞) is -o rw.
登錄后復(fù)制
sw 應(yīng)該是:自動(dòng)掛載的可讀寫(xiě)分區(qū)
2)你的fstab少了掛載點(diǎn)。
推薦學(xué)習(xí):《Linux視頻教程》