linux sw是什么

藏色散人
藏色散人 原创
2023-03-07 09:22:03 1495浏览

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 :

26edea8ba42551c7996847e46427ed8.jpg

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中文网其它相关文章!

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。