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