linux sw是mount里面的選項,sw應該是自動掛載的可讀寫分區,而mount的選項“-s Tolerate sloppy mount options rather than failing…”意思是說可以忽略錯誤的選項,這個選項是為自動掛載設計的。
本教程操作環境:linux5.9.8系統、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.
意思是說可以忽略錯誤的選項,這個選項是為自動掛載設計的。
?????-w,?--rw ??????????????Mount?the?filesystem?read/write.?This?is?the?default.?A?synonym(同義詞)?is?-o?rw.
sw 應該是:自動掛載的可讀寫分區
2)你的fstab少了掛載點。
推薦學習:《Linux視頻教程》
? 版權聲明
文章版權歸作者所有,未經允許請勿轉載。
THE END
喜歡就支持一下吧
相關推薦