On 16/06/10 23:52, Bruce Dubbs wrote:
> Andrew Benton wrote:
>
>> I haven't updated my bootscripts lately but today I decided to rectify
>> that, I downloaded lfs-bootscripts-20100529 and installed them on a new
>> system. They worked fine apart from the mountfs script which returned a
>> fail. When I logged in and ran mount -a it complained that /dev/pts and
>> /dev/shm did not exist. It used to be that the udev bootscript copied
>> /lib/udev/devices/{pts,shm} to /dev but looking at it now, the only
>> thing it copies is /lib/udev/devices/null
>> On the udev page in chapter 6 it still says to
>> install /lib/{firmware,udev/devices/{pts,shm}}
>> If the udev bootscript doesn't copy /lib/udev/devices/{pts,shm} to /dev,
>> how are /dev/{pts,shm} going to be created?
>> Have I missed something?
>
> Andy, I've not had a chance to look at this, but I created a ticket so
> we won't forget about it.
>
> -- Bruce
I don't have a password to edit the ticket so I'll reply here.
I'm using the kernel's devtmpfs and udev-157. Udev does not create the
folders /dev/{pts,shm} so the mountfs script fails because the
mountpoints mentioned in /etc/fstab do not exist. Putting mkdir
/dev/{pts,shm} in the udev bootscript fixes it
sed -i '/lib/a\\t\tmkdir /dev/{pts,shm}' /etc/rc.d/init.d/udev
Andy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page