mirror of https://github.com/mkerrisk/man-pages
mount.2: Since Linux 2.6.26, bind mounts can be made read-only
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
16008a4146
commit
f5da58a8f2
12
man2/mount.2
12
man2/mount.2
|
@ -313,6 +313,18 @@ and, additionally, before kernel 2.4.10, the following could also be changed:
|
|||
.BR MS_NODEV ,
|
||||
and
|
||||
.BR MS_NOEXEC .
|
||||
|
||||
Since Linux 2.6.26, this flag can also be used to make
|
||||
.\" See https://lwn.net/Articles/281157/
|
||||
an existing bind mount read-only by specifying
|
||||
.IR mountflags
|
||||
as:
|
||||
|
||||
MS_REMOUNT | MS_BIND | MS_RDONLY
|
||||
|
||||
Note that only the
|
||||
.BR MS_RDONLY
|
||||
setting of the bind mount can be changed in this manner.
|
||||
.TP
|
||||
.BR MS_SILENT " (since Linux 2.6.17)"
|
||||
Suppress the display of certain
|
||||
|
|
Loading…
Reference in New Issue