aboutsummaryrefslogtreecommitdiffstats
path: root/man2/pivot_root.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-07-30 14:18:41 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-09-23 13:11:19 +0200
commit14caaed2c1ea032aff0441573b712a38f551e65b (patch)
tree841a8d2b55452a91a950f773c12db4abe65d5261 /man2/pivot_root.2
parentbbae63c5806f5c7fe4dc2834c63c50475b1e83e6 (diff)
downloadman-pages-14caaed2c1ea032aff0441573b712a38f551e65b.tar.gz
pivot_root.2: Minor change: rewrite the reference to pivot_root(8)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/pivot_root.2')
-rw-r--r--man2/pivot_root.27
1 files changed, 3 insertions, 4 deletions
diff --git a/man2/pivot_root.2 b/man2/pivot_root.2
index 4abca563d4..0860cb2bea 100644
--- a/man2/pivot_root.2
+++ b/man2/pivot_root.2
@@ -95,10 +95,6 @@ similarly, if
is an existing mount point, its propagation type must not be
.BR MS_SHARED .
.PP
-See also
-.BR pivot_root (8)
-for additional usage examples.
-.PP
If the current root is not a mount point (e.g., after an earlier
.BR chroot (2)
or
@@ -178,6 +174,9 @@ is Linux-specific and hence is not portable.
Glibc does not provide a wrapper for this system call; call it using
.BR syscall (2).
.PP
+A command-line interface for this system call is provided by
+.BR pivot_root (8).
+.PP
.BR pivot_root ()
allows the caller to switch to a new root filesystem while at the same time
placing the old root mount at a location under