LFS 6.2 6.2.3. Mounting Virtual Kernel File Systems I reformatted my test system to do another install and get the following errors:
Command Line: ============= lfs:~$ sudo mount -vt devpts devpts ${LFS}/dev/pts mount: mount point /mnt/lfs/dev/pts does not exist Scripted: ========= devpts on /mnt/lfs/dev/pts type devpts (rw) => ${tmpfsshmmounted}=shm on /mnt/lfs/dev/shm type tmpfs (rw) => "shm on /mnt/lfs/dev/shm type tmpfs (rw)" NOT found in sudo mount mount: mount point /mnt/lfs/dev/shm does not exist ./6.02.Preparing_Virtual_Kernel_File_Systems ERROR: basic error trapped! Exit Status $?=32 The reason is that dev/pts and dev/shm do not exist. If I change mkdir -pv $LFS/{dev,proc,sys} to mkdir -pv ${LFS}/{dev{/pts,/shm},proc,sys} it will work. 1. Does the mount --bind take care of this normally with cut and paste? 2. Dropping in and out of chroot can create multiple copies of mount points when commands are repeated so I check for that. 3. Is there a reason not to explicitly create /dev/pts and /dev/shm under $LFS ? 4. Is this suitable for the book? Thanks, Peter -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page