Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-catalyst
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Eric Edgar <rocket@g.o>, gentoo-catalyst@g.o
From: Rafael Ávila de Espíndola <rafael.espindola@...>
Subject: Re: unmounting a filesystem mounted by /init (initramfs)
Date: Fri, 29 Jul 2005 09:00:07 -0300
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.

> Rocket.

Thanks,
Rafael
Attachment:
pgpP1SlsS9jSN.pgp (PGP signature)
Replies:
Re: unmounting a filesystem mounted by /init (initramfs)
-- Chris Gianelloni
References:
unmounting a filesystem mounted by /init (initramfs)
-- Rafael Espíndola
Re: unmounting a filesystem mounted by /init (initramfs)
-- Eric Edgar
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: unmounting a filesystem mounted by /init (initramfs)
Next by thread:
Re: unmounting a filesystem mounted by /init (initramfs)
Previous by date:
Re: unmounting a filesystem mounted by /init (initramfs)
Next by date:
Re: unmounting a filesystem mounted by /init (initramfs)


Updated Jun 17, 2009

Summary: Archive of the gentoo-catalyst mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.