]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
pivot_root.2: Minor fix: place some text at a more logical location in the page
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 27 Jul 2019 05:07:32 +0000 (07:07 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 23 Sep 2019 11:11:18 +0000 (13:11 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/pivot_root.2

index c7d3bece128a2dd36cb4c3d538af6d4a9f1c1ffc..87d5a9a837ec3dc231f59e58e57e116fcff9cbd8 100644 (file)
@@ -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