[Unionfs] Unable to remount the cf device.

Carlos Galisteo de Cabo cgalisteo at k-rolus.net
Tue Nov 7 13:29:32 EST 2006



> Does /proc/mounts show hda1 mounted?

yes it does.

/dev/hda1 /initrd ext3 ro,data=ordered 0 0

> I don't think you should be able to mount hda1 ro as part of your union
> and simultaneously rw for an update.  Or maybe I am misunderstanding
> what you are trying to do?

 Well, hda1 is not exactly mounted as a part of the union. It's the directory where the mounted squashfs images are.

> Is there maybe a way to tear down your root (pivoting to a ram based
> file system or something), perform the update, and then reboot?
> Or commit the cfimg to a separate cf partition and copy it to ramdisk
> on the next boot?

 People here at work were using the 'remount rw' - 'overwrite cfgimg' - 'remount rw' with mkinitrd. Problems comes with mkinitramfs. If someone knows what would be the proper way to do this, please tell us :)
 
> I'm interested in how you work this out as I need to do something
> similar in the not too distant future.  :-)

 OK. I'll keep you informed 



More information about the unionfs mailing list