mirror of https://github.com/mkerrisk/man-pages
pivot_root.2: Remove BUGS section
One of these "bugs" is a philosophical point already covered elsewhere in the page, while the other is a somewhat obscure joke. Both pieces are a bit of a distraction, really. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
41d4557c09
commit
bbae63c580
|
@ -70,6 +70,11 @@ must be directories.
|
|||
.IP \-
|
||||
\fInew_root\fP and \fIput_old\fP must not be on the same filesystem as
|
||||
the current root.
|
||||
In particular,
|
||||
.IR new_root
|
||||
can't be
|
||||
.IR """/"""
|
||||
(but can be a bind mounted directory on the current root filesystem).
|
||||
.IP \-
|
||||
\fIput_old\fP must be underneath \fInew_root\fP, that is, adding a nonzero
|
||||
number of \fI/..\fP to the string pointed to by \fIput_old\fP must yield
|
||||
|
@ -215,15 +220,6 @@ and exec the new
|
|||
.BR init (1).
|
||||
Helper programs for this process exist; see
|
||||
.BR switch_root (8).
|
||||
.SH BUGS
|
||||
.BR pivot_root ()
|
||||
should not have to change root and current working directory of other
|
||||
processes in the system.
|
||||
.PP
|
||||
Some of the more obscure uses of
|
||||
.BR pivot_root ()
|
||||
may quickly lead to
|
||||
insanity.
|
||||
.SH EXAMPLE
|
||||
.PP
|
||||
The program below demonstrates the use of
|
||||
|
|
Loading…
Reference in New Issue