Re: unmounting a filesystem mounted by /init (initramfs)

2005-07-29 Thread Rafael Ávila de Espíndola
> Use lazy umount (umount -l) while fs is still visible This works after all :) I was I bit confused on how to remove the ext2 from the union but manage to do it. Then it was a simple matter of implementing lazy unmount in busybox. Thank you very much, Rafael pgpBHzI7xMsiZ.pgp Description: PGP

Re: unmounting a filesystem mounted by /init (initramfs)

2005-07-29 Thread Rafael Ávila de Espíndola
On Friday 29 July 2005 02:34, Denis Vlasenko wrote: > "A chroot"? Better provide exact sequence of mounts, chroots which you > execute. Otherwise people need to guess. The relevant commands are: mount -t ext2 /dev/hda1 /memory mount -t unionfs -o dirs=/memory /union mount -t squashfs /dev/hda2 /ne

unmounting a filesystem mounted by /init (initramfs)

2005-07-28 Thread Rafael Espíndola
I am trying to build a system that uses a unionfs as root. The init script is based on the one used by gentoo and uses initramfs. The problem is how to remount the unionfs constituents read only during halt. cat /proc/mounts displays /dev/hda1 (ext2) mounted rw in /memory. The problem is that /mem