首頁 > 運維 > linux運維 > 主體

linux sw是什麼

藏色散人
發布: 2023-03-07 09:22:03
原創
2112 人瀏覽過

linux sw是mount裡面的選項,sw應該是自動掛載的可讀寫分區,而mount的選項「-s Tolerate sloppy mount options rather than failing...」意思是說可以忽略錯誤的選項,這個選項是為自動掛載設計的。

linux sw是什麼

本教學操作環境: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 :

linux sw是什麼

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影片教學

以上是linux sw是什麼的詳細內容。更多資訊請關注PHP中文網其他相關文章!

相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!