mirror of https://github.com/mkerrisk/man-pages
pivot_root.2: Minor fix: place some text at a more logical location in the page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
cc245e5bf8
commit
14e47dbe60
|
@ -78,6 +78,21 @@ the current root.
|
|||
number of \fI/..\fP to the string pointed to by \fIput_old\fP must yield
|
||||
the same directory as \fInew_root\fP.
|
||||
.IP \- 3
|
||||
.I new_root
|
||||
must be a mount point.
|
||||
(If it is not otherwise a mount point, it suffices to bind mount
|
||||
.I new_root
|
||||
on top of itself.)
|
||||
.IP \- 3
|
||||
The propagation type of
|
||||
.I new_root
|
||||
and its parent mount must not be
|
||||
.BR MS_SHARED ;
|
||||
similarly, if
|
||||
.I put_old
|
||||
is an existing mount point, its propagation type must not be
|
||||
.BR MS_SHARED .
|
||||
.IP \- 3
|
||||
No other filesystem may be mounted on \fIput_old\fP.
|
||||
.PP
|
||||
See also
|
||||
|
@ -90,21 +105,6 @@ or
|
|||
.BR pivot_root (),
|
||||
see also below), not the old root directory, but the
|
||||
mount point of that filesystem is mounted on \fIput_old\fP.
|
||||
.PP
|
||||
.I new_root
|
||||
must be a mount point.
|
||||
(If it is not otherwise a mount point, it suffices to bind mount
|
||||
.I new_root
|
||||
on top of itself.)
|
||||
.PP
|
||||
The propagation type of
|
||||
.I new_root
|
||||
and its parent mount must not be
|
||||
.BR MS_SHARED ;
|
||||
similarly, if
|
||||
.I put_old
|
||||
is an existing mount point, its propagation type must not be
|
||||
.BR MS_SHARED .
|
||||
.SH RETURN VALUE
|
||||
On success, zero is returned.
|
||||
On error, \-1 is returned, and
|
||||
|
|
Loading…
Reference in New Issue