Re: [PATCH] pivot_root.2: Document EINVAL if root is rootfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael,

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4a0d11fae57989e24fe2ee3eff6d62d72db9716c
added it and it hasn't changed since.

Regards,

Joseph

On Thu, Aug 9, 2018 at 2:34 AM Michael Kerrisk (man-opages)
<mtk.manpages@xxxxxxxxx> wrote:
>
> Hello Joseph,
>
> On 08/09/2018 06:23 AM, Joseph Sible wrote:
> > Per the comment on the pivot_root syscall in fs/namespace.c
>
> Could you point me a little more precisely at the quote please?
>
> Thanks
>
> Michael
>
> > 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
> >



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux