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
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to