mirror of https://github.com/mkerrisk/man-pages
pivot_root.2: Minor change: rewrite the reference to pivot_root(8)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
bbae63c580
commit
14caaed2c1
|
@ -95,10 +95,6 @@ similarly, if
|
||||||
is an existing mount point, its propagation type must not be
|
is an existing mount point, its propagation type must not be
|
||||||
.BR MS_SHARED .
|
.BR MS_SHARED .
|
||||||
.PP
|
.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
|
If the current root is not a mount point (e.g., after an earlier
|
||||||
.BR chroot (2)
|
.BR chroot (2)
|
||||||
or
|
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
|
Glibc does not provide a wrapper for this system call; call it using
|
||||||
.BR syscall (2).
|
.BR syscall (2).
|
||||||
.PP
|
.PP
|
||||||
|
A command-line interface for this system call is provided by
|
||||||
|
.BR pivot_root (8).
|
||||||
|
.PP
|
||||||
.BR pivot_root ()
|
.BR pivot_root ()
|
||||||
allows the caller to switch to a new root filesystem while at the same time
|
allows the caller to switch to a new root filesystem while at the same time
|
||||||
placing the old root mount at a location under
|
placing the old root mount at a location under
|
||||||
|
|
Loading…
Reference in New Issue