aboutsummaryrefslogtreecommitdiffstats
path: root/man2/pivot_root.2
diff options
context:
space:
mode:
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