mirror of https://github.com/mkerrisk/man-pages
pivot_root.2: Document EINVAL if root is rootfs
Per the comment on the pivot_root syscall in fs/namespace.c: Also, the current root cannot be on the 'rootfs' (initial ramfs) filesystem. See Documentation/filesystems/ramfs-rootfs-initramfs.txt for alternatives in this situation. Signed-off-by: Joseph C. Sible <josephcsible@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
30a264ba19
commit
dc9b6c9285
|
@ -112,6 +112,9 @@ or a filesystem is already mounted on \fIput_old\fP.
|
|||
.B EINVAL
|
||||
\fIput_old\fP is not underneath \fInew_root\fP.
|
||||
.TP
|
||||
.B EINVAL
|
||||
The current root is on the rootfs (initial ramfs) filesystem.
|
||||
.TP
|
||||
.B ENOTDIR
|
||||
\fInew_root\fP or \fIput_old\fP is not a directory.
|
||||
.TP
|
||||
|
|
Loading…
Reference in New Issue