1 |
On Friday 29 July 2005 02:34, Denis Vlasenko wrote: |
2 |
> "A chroot"? Better provide exact sequence of mounts, chroots which you |
3 |
> execute. Otherwise people need to guess. |
4 |
The relevant commands are: |
5 |
|
6 |
mount -t ext2 /dev/hda1 /memory |
7 |
mount -t unionfs -o dirs=/memory /union |
8 |
mount -t squashfs /dev/hda2 /newroot |
9 |
unionctl /union --add --after 0 --mode ro /newroot |
10 |
chroot /union /sbin/init |
11 |
|
12 |
The most promissing Idea I had till now is to move the ext2 mount and the |
13 |
unionctl past the point were /sbin/rc runs udevstart. I will try it as soon |
14 |
as possible. |
15 |
|
16 |
> Use lazy umount (umount -l) while fs is still visible |
17 |
The busybox umount doesn't support lazy unmount :( |
18 |
Anyway, I don't think that this would work since the unionfs will be using the |
19 |
ext2 partition to the very end and there won't be a chance to unmount it. |
20 |
|
21 |
> vda |
22 |
Thank you very much, |
23 |
Rafael |