Gentoo Archives: gentoo-catalyst

From: Eric Edgar <rocket@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] unmounting a filesystem mounted by /init (initramfs)
Date: Fri, 29 Jul 2005 04:41:27
Message-Id: 20050729044111.GA29303@toucan.gentoo.org
In Reply to: [gentoo-catalyst] unmounting a filesystem mounted by /init (initramfs) by "Rafael Espíndola"
1 unionfs is not supported at this time. It is purely experimental.
2 There are some halt.sh script changes that need to be put inplace for it
3 to work at shutdown.
4
5 Also unionfs at the moment does not support remounting ro or rw. It
6 will fail.
7
8 I am not even 100% sure that this is how unionfs should be implemented
9 in the future. It is highly experimental and there are bugs with it
10 yet. In the future it may not be part of the initramfs at all as it
11 contains issues such as you are describing.
12
13 Mainly its inclusion to date is proof of concept only and may be
14 radically different in the future.
15
16 Rocket.
17
18
19 On 22:49 Thu 28 Jul , Rafael Esp?ndola wrote:
20 > I am trying to build a system that uses a unionfs as root. The init
21 > script is based on the one used by gentoo and uses initramfs. The
22 > problem is how to remount the unionfs constituents read only during
23 > halt.
24 >
25 > cat /proc/mounts displays /dev/hda1 (ext2) mounted rw in /memory. The
26 > problem is that /memory is no longer visible after the init script did
27 > a chroot and a
28 >
29 > mount -o remount,ro /dev/hda1
30 >
31 > says that /dev/hda1 is not mounted!
32 >
33 > does any anyone has an idea?
34 >
35 > Thanks,
36 > Rafael
37 >
38 > --
39 > gentoo-catalyst@g.o mailing list
40 >
41 >

Replies

Subject Author
Re: [gentoo-catalyst] unmounting a filesystem mounted by /init (initramfs) "Rafael Ávila de Espíndola" <rafael.espindola@×××××.com>