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 |
> |