pivot_root.2: Fix a technical detail

In this text:

        If the current root is not a mount point (e.g., after an
        earlier chroot(2) or pivot_root())...

mention of pivot_root() makes no sense, since (as noted in an
earlier commit message for this page) 'new_root' in a previous
pivot_root() must (since Linux 2.4.5) have been a mount point.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-07-30 14:23:17 +02:00
parent 14caaed2c1
commit d761305516
1 changed files with 1 additions and 3 deletions

View File

@ -96,9 +96,7 @@ is an existing mount point, its propagation type must not be
.BR MS_SHARED .
.PP
If the current root is not a mount point (e.g., after an earlier
.BR chroot (2)
or
.BR pivot_root ()),
.BR chroot (2)),
then the mount point of the filesystem containing the current root directory
(i.e., not the directory itself) is mounted on \fIput_old\fP.
.SH RETURN VALUE