On 08/09/2018 06:23 AM, Joseph Sible wrote: > Per the comment on the pivot_root syscall in fs/namespace.c Thanks for the additional details in your follow up mail, Joseph. Patch applied. Cheers, > > 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 > . > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/