Andrew Benton wrote:
> On Wed, 21 Sep 2011 17:53:52 -0500
> Bruce Dubbs <bruce.du...@gmail.com> wrote:
> 
>> Upon review of udev due to a question on -support, we are creating some 
>> directories that I don't know are still required.
>>
>> install -dv /lib/{firmware,udev/devices/pts}
>>
>> I think we still need /lib/udev/devices, but does anyone know if we 
>> still need:
>>
>> /lib/firmware
>> /lib/udev/devices/pts
>>
> 
> /lib/udev/devices/pts is an empty directory that the udev bootscript
> used to copy into /dev to allow a tmpfs to be mounted on /dev/pts. 

A devpts filesystem, not a tmpfs.  :-)  But yes.

If udev does not create the directory itself (I can't imagine that it
does), then the directory needs to be created by something; either the
script (by adding it to /lib/udev/devices) or an explicit mkdir (with
proper permissions) somewhere after the udev script mounts a tmpfs on
/dev.

> Without it terminal emulators (roxterm, gnome terminal) won't work for me.

Yes; anything that requires unix98 PTY support requires this.  Terminal
emulators, screen, expect, etc., all need it.

(Unless the kernel support has changed lately, such that the normal udev
infrastructure handles the creation of the pts/* files.  But I doubt it,
since there are tight timing requirements on the API here, requiring the
pts/* file to be present before the syscall on the /dev/ptmx FD that the
program has open finishes.  See the pty(7) and ptmx(4) manpages.)

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to