RFC - Bugs 688 & 732

Gerard Beekmans gerard at linuxfromscratch.org
Sat Jan 24 15:45:47 PST 2004

On Sat, 2004-01-24 at 13:16, Anderson Lizardo wrote:
> One possible solution is to add a reminder on "Entering the chroot 
> environment" to umount proc/devpts *before* exiting chroot, similar to what 
> we have to remount them when re-entering. Also, It would be nice to expose 
> what message will appear if the user forgets to do this, because, IMHO, a 
> "umount: /mnt/lfs: device is busy" is not too intuitive to indicate the real 
> cause of the umount failure.

Can we add this to /home/lfs/.bash_logout ?

Enter chroot, automatically provide a clean environment. Exit chroot and
unmount the proc and devpts filesystems?

Gerard Beekmans

/* If Linux doesn't have the solution, you have the wrong problem */

More information about the lfs-dev mailing list