No that is not correct, you CAN use unionfs for making union of two devices - but mounted.

This way:

mount /dev/hda1 /mnt/hda1
mount /dev/hda2 /mnt/hda2
mount -o dirs=/mnt/hda1=rw:/mnt/hda2=ro unionfs /mnt/union
chroot /mnt/union # or whatever you need to use, eg. cd /mnt/union; exec sbin/init <dev/console >dev/console



Tomas


Francesco Carsana wrote:
Francis Galiegue wrote:
Erm, you should at least create /dev/console...

I know that, infact I think the kernel mounts hda2 as root filesystem,
but I don't know why the init process doesn't start!!
Why the kernel remount the filesystem? How can I use my UnionFS as root filesystem?

I've read in a previous post that it's not possible create a union between two block devices, like hda1 and hda2, and use it as root filesystem... Is it right?
In this case I can't solve my problem... :-(

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

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

Reply via email to