Die Kernelkonfigurationshelpfile (...cdk/linus/Documentation/Configure.help) sagt über devpts
/dev/pts file system for Unix98 PTYs
CONFIG_DEVPTS_FS
You should say Y here if you said Y to "Unix98 PTY support" above.
You'll then get a virtual file system which can be mounted on
/dev/pts with "mount -t devpts". This, together with the pseudo
terminal master multiplexer /dev/ptmx, is used for pseudo terminal
support as described in The Open Group's Unix98 standard: in order
to acquire a pseudo terminal, a process opens /dev/ptmx; the number
of the pseudo terminal is then made available to the process and the
pseudo terminal slave can be accessed as /dev/pts/<number>. What was
traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
The GNU C library glibc 2.1 contains the requisite support for this
mode of operation; you also need client programs that use the Unix98
API. Please read <file:Documentation/Changes> for more information
about the Unix98 pty devices.
Note that the experimental "/dev file system support"
(CONFIG_DEVFS_FS) is a more general facility.
Im Kernelkonfiguration ist Unix98-pty-support an, aber diese Option nicht. Siehe auch /etc/fstab:
Sofern ich verstehe, "sollte" dies Setup nicht funktionieren, und z.B. telnetting zu box nicht funktionieren. Macht es aber
Code: Alles auswählen
[1003]$ telnet dbox
Trying 192.168.1.5...
Connected to dbox.
Escape character is '^]'.
Nokia D-BOX2 - Kernel 2.4.32-dbox2 (21:00:35).
dbox login: root
BusyBox v1.1.3 (2006.08.16-17:35+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
# tty
/dev/pts/0
Auch cat auf /proc/mounts bestätigt dass devpts nicht gemounted ist.
Definiert man CONFIG_DEVPTS_FS=y bekommt man trotzdem die Fehlermeldung, nachträgliches mounten von /dev/pts ist aber (in unterschied zu früher) möglich.