create pseudo-ttys ptya* (master) ttya* (slave)

Patrick Steiner patrick.steiner at a1.net
Tue Apr 11 06:21:56 UTC 2006


hi,

how can i active pseudo-ttys

/dev/ptya[0-4] (master) MAJOR 2
/dev/ttya[0-4] (slave) MAJOR 3

i have active it via udev (/etc/udev/makedev.d/50-udev.nodes)

now they are unter /dev but i cant see them in /proc/tty/drivers

# cat /proc/tty/drivers
/dev/tty             /dev/tty        5       0 system:/dev/tty
/dev/console         /dev/console    5       1 system:console
/dev/ptmx            /dev/ptmx       5       2 system
/dev/vc/0            /dev/vc/0       4       0 system:vtmaster
rfcomm               /dev/rfcomm   216 0-255 serial
serial               /dev/ttyS       4 64-95 serial
pty_slave            /dev/pts      136 0-1048575 pty:slave
pty_master           /dev/ptm      128 0-1048575 pty:master
unknown              /dev/tty        4 1-63 console


any ideas what i do wrong?

i also tried to build pseudo-ttys via /dev/MAKEDEV ptya0

regards,
 patrick




More information about the fedora-list mailing list