Re: pivot_root broken in 2.6.15-rc1-mm2

From: Rob Landley
Date: Wed Nov 23 2005 - 06:44:36 EST


On Tuesday 22 November 2005 20:07, Neil Brown wrote:
> Pivot_root seems to be broken in 2.6.15-rc1-mm2.
>
> I havea initramfs filesystem, mount a ext3 filesystem (which has /mnt)
> at '/root' and
>
> cd /root
> pivot . mnt
>
> and it says -EINVAL.

You can't pivot_root initramfs because initramfs is rootfs.

I wrote Documentation/filesystems/ramfs-rootfs-initramfs.txt just for this
occasion. :)

Rob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/