List Archive: gentoo-catalyst
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On Friday 29 July 2005 01:41, Eric Edgar wrote:
> unionfs is not supported at this time. It is purely experimental.
> There are some halt.sh script changes that need to be put inplace for it
> to work at shutdown.
No problem. I hope I can help with it.
> Also unionfs at the moment does not support remounting ro or rw. It
> will fail.
I want to remount a ext2 that is a constituent of it. Not the unionfs itself.
I have tried it with
mount -o loop ext2.img t1
mount -o loop squash.img t2
mount -t unionfs -o dirs=t1:t2 t3
mount -o remount,ro t1
and it works.
The problem is with the chroot that takes place during the boot.
> I am not even 100% sure that this is how unionfs should be implemented
> in the future. It is highly experimental and there are bugs with it
> yet. In the future it may not be part of the initramfs at all as it
> contains issues such as you are describing.
What is the plan? End /init with a ro / and make /sbin/rc add /memory?
> Mainly its inclusion to date is proof of concept only and may be
> radically different in the future.
Before that I had a hack to gentoo linuxrc to use a ext2 root with links to a
squashfs mount. Assuming that I can solve the remount problem, this will be a
much cleaner solution with a smaller deviation from the gentoo scripts.