mount.2: Relocate text on multimounting and mount stacking to NOTES

The text was somewhat out of place in its previous location;
NOTES is a better location.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-06-04 07:28:06 -05:00
parent b3ae9c7d6f
commit f54e02b4bf
1 changed files with 7 additions and 5 deletions

View File

@ -62,11 +62,6 @@ Appropriate privilege (Linux: the
.B CAP_SYS_ADMIN
capability) is required to mount filesystems.
Since Linux 2.4 a single filesystem can be visible at
multiple mount points, and multiple mounts can be stacked
on the same mount point.
.\" Multiple mounts on same mount point: since 2.3.99pre7.
Values for the
.I filesystemtype
argument supported by the kernel are listed in
@ -493,6 +488,11 @@ 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
Since Linux 2.4 a single filesystem can be mounted at
multiple mount points, and multiple mounts can be stacked
on the same mount point.
.\" Multiple mounts on same mount point: since 2.3.99pre7.
The
.I mountflags
argument may have the magic number 0xC0ED (\fBMS_MGC_VAL\fP)
@ -522,6 +522,8 @@ would fail with
Since Linux 2.4 the set-user-ID and set-group-ID bits are
just silently ignored in this case.
.\" The change is in patch-2.4.0-prerelease.
.\"
.SS Per-process namespaces
Starting with kernel 2.4.19, Linux provides
per-process mount namespaces.