lkml.org 
[lkml]   [2004]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.8.1-mm1 Tty problems?
    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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:05    [W:2.231 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site