[uClibc] Problem with ttyname

Patrick Aussems paussems at dti-be.com
Tue Jan 13 10:21:30 UTC 2004


Erik Andersen wrote:

>On Tue Jan 13, 2004 at 10:35:53AM +0100, Patrick Aussems wrote:
>  
>
>>Yes it does. I also connected a serial console to the module and got the 
>>following log messages:
>>
>>Jan  1 00:00:20 login[35]: unable to determine TTY name, got /dev/misc
>>Jan  1 00:00:20 login[35]: root login  on `misc'
>>
>>But it works...
>>    
>>
>
>It would be very interesting to see what the actual ttyname
>is when you are logged in.  
>
>Once you telnet in, what does 'ls -l /proc/self/fd/0' show?
>  
>
# ls -l /proc/self/fd/0
lrwx------    1 root     root           64 Jan  1 01:31 /proc/self/fd/0
-> /dev/pty/s0





More information about the uClibc mailing list