Per the comment on the pivot_root syscall in fs/namespace.c Signed-off-by: Joseph C. Sible <josephcsible@xxxxxxxxx> --- man2/pivot_root.2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man2/pivot_root.2 b/man2/pivot_root.2 index f744d29..2f8f5f4 100644 --- a/man2/pivot_root.2 +++ b/man2/pivot_root.2 @@ -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 -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html