d...@fluidnetwork.com wrote:
> Hello all,
>
> Just built two systems, one of HLFS-development and one LFS-7.2.
>
> Not sure what I did wrong, but neither system would successfully mount
> /dev/pts or /dev/shm on bootup - both were complaining about
> nonexistant mount points.  After searching the web for a few hours, I
> came across one lonely half suggestion for a fix... and it works.
>
> In the file /etc/rc.d/init.d/mountfs
> I added the following at line 38
>      (   below    boot_mesg "Mounting remaining file systems"  )
>      mkdir /dev/{pts,shm}
>
> It worked.

The kernel needs to have devtmpfs built in.  /dev/pts is mounted in 
mountfs in the line

  mount -a -O no_netdev >/dev/null

In fstab, you need the line:

devpts         /dev/pts     devpts gid=5,mode=620       0     0

/dev/shm is created in mountvirtfs:

mount -n /run
mkdir -p /run/var /run/lock /run/shm
chmod 1777 /run/shm
...
ln -sfn /run/shm /dev/shm

   -- 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