]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
mount.2: Relocate/demote/rework text on MS_MGC_VAL
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 4 Jun 2016 11:54:01 +0000 (06:54 -0500)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 4 Jun 2016 12:20:56 +0000 (07:20 -0500)
The use of this constant has not been needed for 15 years now.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/mount.2

index a582443bbe30b047275e4fa620f52102de63960a..442a7d23bef476f89ec024f7639e6ee1ee62c176 100644 (file)
@@ -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