On Di, 2006-02-21 at 16:26 -0500, Christopher Fowler wrote:
> The only thing I can't seem to do is umount initrd.  I want to validate
> that what I'm doing is correct.  
> 
> In Linuxrc:
> 
> mkdir /sysroot
> mkdir /sysroot/union
> mkdir /sysroot/cramfs
> mkdir /sysroot/tmpfs
> 
> mount /dev/ram7 /sysroot/cramfs
> mount tmpfs /sysroot/tmpfs
> mount union dir=cramfs,tmpfs /sysroot/union
> pivot_root /sysroot/union /sysroot/union/initrd

pivot_root is broken-ish for newer 2.6 kernels, as I had
to learn a few months ago, too. You can use it to switch
from a CD boot El Torito-Ramdisk, but not for the standard
initrd (always returns EINVAL, invalid argument).

The preferred method now is mount --move (which puts the
MS_MOVE flag in the 4th parameter).

Hth,
Torsten


_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to