aboutsummaryrefslogtreecommitdiffstats
path: root/man2/pivot_root.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-10-09 22:16:02 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-10-09 23:26:54 +0200
commit666373fc08d456ab6a92bae3ae6ee2b12f838fbd (patch)
tree1b6550c4d375003abc27a1ea6090a07cc29aa77e /man2/pivot_root.2
parent33313a260ccd688984217a6cebc6f4604baf9028 (diff)
downloadman-pages-666373fc08d456ab6a92bae3ae6ee2b12f838fbd.tar.gz
pivot_root.2: Reword one of the restrictions on 'new_root'
A suggested by Eric Biederman Reported-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/pivot_root.2')
-rw-r--r--man2/pivot_root.29
1 files changed, 3 insertions, 6 deletions
diff --git a/man2/pivot_root.2 b/man2/pivot_root.2
index ee45eddbca..8c76a86545 100644
--- a/man2/pivot_root.2
+++ b/man2/pivot_root.2
@@ -83,13 +83,10 @@ number of \fI/..\fP to the string pointed to by \fIput_old\fP must yield
the same directory as \fInew_root\fP.
.IP \-
.I new_root
-must be a mount point, but can't be
+must be a path to a mount point, but can't be
.IR """/""" .
-If it is not otherwise a mount point, it suffices to bind mount
-.I new_root
-on top of itself.
-.RI ( new_root
-can be a bind mounted directory on the current root filesystem.)
+A path that is not already a mount point can be converted into one by
+bind mounting the path onto itself.
.IP \-
The propagation type of the parent mount of
.IR new_root