Peter wrote:
> I would use this in place of what is
> in 6.2.3. Mounting Virtual Kernel File Systems.
> I want to take care of the mount error that is
> possible by resetting the build from
> scratch without a reboot because the
> book does not explicitly create pts and shm
> and leaves it up to mount --bind.
>
In your /dev directory on your host, you *should* have /dev/pts and
/dev/shm. If you don't... That's just weird. The book *should not* have
to create pts and shm in $LFS/dev. If those *mount points* exist in /dev
then they will exist in $LFS/dev after the mount --bind. Creating them
before you mount --bind doesn't make any sense because the mount --bind
will put /dev on $LFS/dev causing all the contents of $LFS/dev before
the mount --bind to be hidden. So, if your host doesn't have these
directories, which I doubt it doesn't. Then they should be created *just
before* mounting $LFS/dev/pts and $LFS/dev/shm. But not before mounting
$LFS/dev.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page