On Thu, Nov 15, 2001 at 10:57:43AM -0600, Adam Heath wrote: > On Thu, 15 Nov 2001, Ethan Benson wrote: > > > so if you had to change anything to accomplish this then mount needs a > > bug reported against it, i can say that umount -a -r works as > > documented in potato since my chroot partition always fails to umount > > since umount -a seems to not bother with the extra /proc mounted under > > there... i simply get a warning that umount failed, remounting ro and > > it works, no fsck etc. > > umount only considers what is listed in /etc/mtab, not what is in /proc. You > may try symlinking the two. eb@socrates ~$ cat /etc/mtab | grep proc proc /proc proc rw 0 0 usbdevfs /proc/bus/usb usbdevfs rw 0 0 proc /archive/chroot/woody/proc proc rw 0 0 eb@socrates ~$ ls -l /etc/mtab -rw-r--r-- 1 root root 624 Nov 5 00:44 /etc/mtab i mount the chrooted proc from the real system not the chroot since the chroot gets no rc scripts run. -- Ethan Benson http://www.alaska.net/~erbenson/
Attachment:
pgpNGs60sKyCN.pgp
Description: PGP signature