mirror of https://github.com/mkerrisk/man-pages
pivot_root.2: srcfix: FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d761305516
commit
fc17fc6502
|
@ -94,6 +94,14 @@ similarly, if
|
|||
.I put_old
|
||||
is an existing mount point, its propagation type must not be
|
||||
.BR MS_SHARED .
|
||||
.\" FIXME
|
||||
.\" mtk: I am very suspicious of the following paragraph. My testing suggests
|
||||
.\" that pivot_root() fails with the error EINVAL in the case where
|
||||
.\" the current root (after chroot()) is not a mount point. And tehre are
|
||||
.\" these lines in pivot_root():
|
||||
.\" error = -EINVAL;
|
||||
.\" if (root.mnt->mnt_root != root.dentry)
|
||||
.\" goto out4; /* not a mountpoint */
|
||||
.PP
|
||||
If the current root is not a mount point (e.g., after an earlier
|
||||
.BR chroot (2)),
|
||||
|
|
Loading…
Reference in New Issue