RFC - Bugs 688 & 732

Alex Groenewoud alex at linuxfromscratch.org
Thu Jan 22 14:00:23 PST 2004

Anderson Lizardo wrote:
> On Wednesday 21 January 2004 04:15, Greg Schafer wrote:
> > Sure, /proc/mounts and the real /etc/mtab can get out of sync, but
> > the consequences of this aren't too worrisome when it's only some virtual
> > file systems we're dealing with.
> Except for the fact that, if you shutdown the host system without umount'ing 
> /proc and /dev/pts (from inside chroot), the "umount -a" command issued by 
> the shutdown script from the host system will fail with something like
> umount: /mnt/lfs: device is busy

Yes, that's the whole reason why mounts should be done outside of
chroot: so that the halt scripts on the host know what to unmount.
I've seen those red "failed" messages far too often.


More information about the lfs-dev mailing list