So far so good.  The unionfs module is working great.  I'm using it to
map a cramfs image and a tmpfs image to / in initrd.  I want to verify
my mounts look good.

rootfs on / type rootfs (rw)
/dev/root.old on /initrd type ext2 (rw)
/dev/root on /initrd/sysroot/cramfs type cramfs (ro)
none on /initrd/sysroot/tmpfs type tmpfs (rw)
none on / type unionfs
(rw,dirs=/initrd/sysroot/tmpfs=rw:/initrd/sysroot/cramfs=ro,debug=0,err=tryleft,delete=all,copyup=preserve,setattr=left)
none on /proc type proc (rw)


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

Thanks,
Chris


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

Reply via email to