/dev/pts missing

mantiz at gmx.net mantiz at gmx.net
Sun May 2 08:18:27 PDT 2010

AB> On 02/05/10 15:09, mantiz at gmx.net wrote:
>> Hello,
>> I built up an LFS-6.6 system and everything is fine except the missing
>> /dev/pts directory, so the init-script can't mount /dev/pts because
>> the mount point does not exist.
>> I can mount the devpts manually with:
>> $ mkdir /dev/pts
>> $ mount /dev/pts
>> The same is with the /dev/shm directory.
>> Did I miss something in the kernel-config so the directories are not
>> created by populating the /dev directory at boot time?

AB> No, it seems you missed a step on the udev page
AB> http://www.linuxfromscratch.org/lfs/view/6.6/chapter06/udev.html

AB> install -dv /lib/{firmware,udev/devices/{pts,shm}}

AB> This makes the directory /lib/udev/devices/pts
AB> If you read the dev bootscript, the contents of /lib/udev/devices are copied
AB> into /dev after the tmpfs is mounted and before udev is started

AB> Andy

Thank you very much, I really missed this step because I built the new
system with pacman and forgot to copy these instructions to the
install script. Fool me. :-)


More information about the lfs-chat mailing list