From: Michael Kerrisk Date: Sat, 27 Jul 2019 05:07:32 +0000 (+0200) Subject: pivot_root.2: Minor fix: place some text at a more logical location in the page X-Git-Tag: man-pages-5.03~130 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=14e47dbe605531d384dee4a6cf3f76d3859d902c;p=thirdparty%2Fman-pages.git pivot_root.2: Minor fix: place some text at a more logical location in the page Signed-off-by: Michael Kerrisk --- diff --git a/man2/pivot_root.2 b/man2/pivot_root.2 index c7d3bece12..87d5a9a837 100644 --- a/man2/pivot_root.2 +++ b/man2/pivot_root.2 @@ -78,25 +78,12 @@ 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 -No other filesystem may be mounted on \fIput_old\fP. -.PP -See also -.BR pivot_root (8) -for additional usage examples. -.PP -If the current root is not a mount point (e.g., after -.BR chroot (2) -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 +.IP \- 3 The propagation type of .I new_root and its parent mount must not be @@ -105,6 +92,19 @@ 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 +.BR pivot_root (8) +for additional usage examples. +.PP +If the current root is not a mount point (e.g., after +.BR chroot (2) +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. .SH RETURN VALUE On success, zero is returned. On error, \-1 is returned, and