mirror of https://github.com/mkerrisk/man-pages
mount.2: ERRORS: add EPERM error for case where a mount is locked
Refer the reader to mount_namespaces(7) for details. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b3987057c6
commit
74ed673c59
15
man2/mount.2
15
man2/mount.2
|
@ -824,6 +824,21 @@ is out of range.
|
|||
.B EPERM
|
||||
The caller does not have the required privileges.
|
||||
.TP
|
||||
.B EPERM
|
||||
An attempt was made to modify
|
||||
.RB ( MS_REMOUNT )
|
||||
the
|
||||
.BR MS_RDONLY ,
|
||||
.BR MS_NOSUID ,
|
||||
or
|
||||
.BR MS_NOEXEC
|
||||
flag, or one of the "atime" flags
|
||||
.RB ( MS_NOATIME ,
|
||||
.BR MS_NODIRATIME ,
|
||||
.BR MS_RELATIME )
|
||||
of an existing mount, but the mount is locked; see
|
||||
.BR mount_namespaces (7).
|
||||
.TP
|
||||
.B EROFS
|
||||
Mounting a read-only filesystem was attempted without giving the
|
||||
.B MS_RDONLY
|
||||
|
|
Loading…
Reference in New Issue