[QUESTION] Unix98 pty's

Murat Arslan (arslanm@piranha.marketweb.net.tr)
Thu, 24 Dec 1998 17:06:00 +0200 (EET)


Hello,

I'm running Redhat 5.2 w/ kernel 2.1.131+ac13, done the following:

- Compiled my kernel with CONFIG_UNIX98_PTYS and CONFIG_DEVPTS_FS.
- mknod /dev/ptmx c 5 2
- chmod 666 /dev/ptmx
- mkdir /dev/pts
- Added the following to /etc/fstab:
none /dev/pts devpts gid=5,mode=620 0 0

Major/minor nums of /dev/tty* and /dev/pty* are:
root@7:57pm:~# ls -l /dev/tty*
crw-rw-rw- 1 root root 5, 0 May 5 1998 /dev/tty
crw------- 1 arslanm staff 4, 0 May 5 1998 /dev/tty0
crw--w---- 1 root tty 4, 1 Dec 23 17:57 /dev/tty1
crw------- 1 arslanm staff 4, 10 Sep 11 04:13 /dev/tty10
crw------- 1 root tty 4, 11 Sep 11 04:13 /dev/tty11
crw------- 1 root tty 4, 12 Sep 11 04:13 /dev/tty12
...

root@7:57pm:~# ls -l /dev/pty*
crw-rw-rw- 1 root tty 2, 176 May 5 1998 /dev/ptya0
crw-rw-rw- 1 root tty 2, 177 May 5 1998 /dev/ptya1
crw-rw-rw- 1 root tty 2, 178 May 5 1998 /dev/ptya2
crw-rw-rw- 1 root tty 2, 179 May 5 1998 /dev/ptya3
crw-rw-rw- 1 root tty 2, 180 May 5 1998 /dev/ptya4
crw-rw-rw- 1 root tty 2, 181 May 5 1998 /dev/ptya5

But still nothing happened,

Did I miss anything ??

In Documentation/Changes it says:
If you want to use the Unix98 ptys, you should be running at least
glibc-2.0.9x, and you must switch completely to Unix98 pty's.

How can I "completely" switch to Unix98 pty's ?

Regards,
Murat Arslan

PS: If I figure this out, I'll, may be, ready a FAQ about the subject.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/