mirror of https://github.com/mkerrisk/man-pages
mount.2: Relocate/demote/rework text on MS_MGC_VAL
The use of this constant has not been needed for 15 years now. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
49f6854626
commit
52f00c053c
23
man2/mount.2
23
man2/mount.2
|
@ -76,15 +76,8 @@ argument supported by the kernel are listed in
|
|||
Further types may become available when the appropriate modules
|
||||
are loaded.
|
||||
|
||||
The
|
||||
.I mountflags
|
||||
argument may have the magic number 0xC0ED (\fBMS_MGC_VAL\fP)
|
||||
in the top 16 bits (this was required in kernel versions prior to 2.4, but
|
||||
is no longer required and ignored if specified),
|
||||
and various mount flags
|
||||
.\" (as defined in \fI<linux/fs.h>\fP for libc4 and libc5
|
||||
.\" and in \fI<sys/mount.h>\fP for glibc2)
|
||||
in the low order 16 bits:
|
||||
The following flags may be specified in
|
||||
.IR mountflags :
|
||||
.\" FIXME 2.6.15 added flags for "shared subtree" functionality:
|
||||
.\"
|
||||
.\" MS_PRIVATE
|
||||
|
@ -500,6 +493,18 @@ were added to glibc headers in version 2.12.
|
|||
This function is Linux-specific and should not be used in
|
||||
programs intended to be portable.
|
||||
.SH NOTES
|
||||
The
|
||||
.I mountflags
|
||||
argument may have the magic number 0xC0ED (\fBMS_MGC_VAL\fP)
|
||||
in the top 16 bits.
|
||||
(All of the other flags discussed in DESCRIPTION
|
||||
occupy the low order 16 bits of
|
||||
.IR mountflags .)
|
||||
Specifying
|
||||
.BR MS_MGC_VAL
|
||||
was required in kernel versions prior to 2.4,
|
||||
but since Linux 2.4 is no longer required and is ignored if specified.
|
||||
|
||||
The original
|
||||
.B MS_SYNC
|
||||
flag was renamed
|
||||
|
|
Loading…
Reference in New Issue