• 技术文章 >运维 >linux运维

    linux sw是什么

    藏色散人藏色散人2023-03-07 09:22:03原创190

    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核实处理。
    专题推荐:sw linux
    上一篇:linux mysqld不能启动怎么办 下一篇:自己动手写 PHP MVC 框架(40节精讲/巨细/新人进阶必看)

    相关文章推荐

    • linux snmp服务是什么意思• linux crash 是什么文件夹• Linux 用户怎么改用户组• linux mysqld不能启动怎么办
    1/1

    PHP中文网