Re: 2.6.8.1-mm1 Tty problems?

Paul Fulghum
2004-08-17T19:34:11Z

ismail dönmez wrote:

> But some other problems remain and the real
> issue is /dev/tty is a directory now! :
>
>
> cartman@southpark:~$ ls -al /dev/tty
> total 0
> drwxr-xr-x 2 root root 0 2004-08-18 00:52 ./
> drwxr-xr-x 15 root root 0 2004-08-17 21:53 ../
> crw------- 1 root root 3, 10 2004-08-18 00:52 s
> crw------- 1 root root 3, 0 2004-08-18 00:52 s0
> crw------- 1 root root 3, 1 2004-08-18 00:52 s1
> crw------- 1 root root 3, 2 2004-08-18 00:52 s2
> crw------- 1 root root 3, 3 2004-08-18 00:52 s3
> crw------- 1 root root 3, 4 2004-08-18 00:52 s4
> crw------- 1 root root 3, 5 2004-08-18 00:52 s5
> crw------- 1 root root 3, 6 2004-08-18 00:52 s6
> crw------- 1 root root 3, 7 2004-08-18 00:52 s7
> crw------- 1 root root 3, 8 2004-08-18 00:52 s8
> crw------- 1 root root 3, 9 2004-08-18 00:52 s9
>
>
> And this breaks many applications. Any idea why /dev/tty is a directory now?

That does not look right.
Char dev 3 is the pty major.
This could be left over from running with the controlling-tty patch.

Try recreating /dev/tty as a char special file:
mknod -m 666 /dev/tty c 5 0

--
Paul Fulghum
paulkf@microgate.com