当前位置: 技术问答>linux和unix
linux mount
来源: 互联网 发布时间:2017-02-17
本文导语: ubuntu 11.10发行版 在tty1 mount了下。发现如下信息 /dev/sdb2 on /type ext5 (rw, errors=remount-ro, commit=0) ... 问:上一句中的括号里头erros=remount-ro和commit=0分别代表什么意思。 errors=remount-ro是说我挂载错误吗? ...
ubuntu 11.10发行版
在tty1 mount了下。发现如下信息
/dev/sdb2 on /type ext5 (rw, errors=remount-ro, commit=0)
...
问:上一句中的括号里头erros=remount-ro和commit=0分别代表什么意思。
errors=remount-ro是说我挂载错误吗?
在tty1 mount了下。发现如下信息
/dev/sdb2 on /type ext5 (rw, errors=remount-ro, commit=0)
...
问:上一句中的括号里头erros=remount-ro和commit=0分别代表什么意思。
errors=remount-ro是说我挂载错误吗?
|
man mount
errors={continue|remount-ro|panic}
Define the behaviour when an error is encountered. (Either
ignore errors and just mark the filesystem erroneous and con‐
tinue, or remount the filesystem read-only, or panic and halt
the system.) The default is set in the filesystem superblock,
and can be changed using tune2fs(8).
重新挂在文件系统只读
errors={continue|remount-ro|panic}
Define the behaviour when an error is encountered. (Either
ignore errors and just mark the filesystem erroneous and con‐
tinue, or remount the filesystem read-only, or panic and halt
the system.) The default is set in the filesystem superblock,
and can be changed using tune2fs(8).
重新挂在文件系统只读
|
commit=nrsec
Sync all data and metadata every nrsec seconds. The default
value is 5 seconds. Zero means default.
同步所有数据和元数据每nrsec秒。默认是5秒。0意味着默认。
Sync all data and metadata every nrsec seconds. The default
value is 5 seconds. Zero means default.
同步所有数据和元数据每nrsec秒。默认是5秒。0意味着默认。
|
errors={continue|remount-ro|panic}
Define the behaviour when an error is encountered. (Either ignore errors and just mark the filesystem erroneous and continue, or remount
the filesystem read-only, or panic and halt the system.)
Define the behaviour when an error is encountered. (Either ignore errors and just mark the filesystem erroneous and continue, or remount
the filesystem read-only, or panic and halt the system.)
|
出错时,重新挂载为只读