[lfs-support] Google Chrome disappears after running script to remove $LFS/dev/shm symlink

Bruce Dubbs bruce.dubbs at gmail.com
Mon Aug 13 09:03:00 PDT 2012

Richard Melville wrote:

>> Richard Melville wrote:
>>> Can anybody tell me why the above happens?  I'm using Chrome on the host
>> to
>>> follow the book.  Chrome won't restart and I'm now using Firefox.  I
>>> noticed that the symlink was also removed from the host /dev directory;
>> If LFS is not defined in the environment you used, then you removed
>> /dev/shm.

> Here's the output from env whilst running as root:-
> LFS=/mnt/lfs

> You can see that LFS *is* defined.  I've now tried removing and
> reinstalling /dev/shm and $LFS/dev/shm manually but whatever I do to
> /dev/shm occurs in $LFS/dev/shm and vice versa.  Is that the nature of a
> bind mount?

Yes, a bind mount behaves like a symbolic link, but it does work across 
chroot.  However, if you umount something that is bind mounted and the 
original mount is still there, then a program using the original mount 
should not be affected.

   -- Bruce

More information about the lfs-support mailing list