Joe wrote:
> If those *mount points* exist in /dev
> then they will exist in $LFS/dev after the mount --bind.

Alex wrote:
> So you want to mkdir ${LFS}/dev _before_ the mount --bind, and mkdir
> ${LFS}/dev/{pts,shm} _after_ the mount --bind.
(when the mount points do not exist - for whatever reason)

This looks like the answer.
The shm and pts mount points will not exist if the partition is
reformatted but there will still be an entry for the mount --bind
related to ${LFS}/dev.

> # Stop build, umount filesystems
>  umount ${LFS}/dev/{shm,pts}
>  umount ${LFS}/dev

should remove the mount --bind entry.

This explains the behavior.

Thanks,

Peter


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to