bug#1169: [uClibc]bug#1169: ttyname incompatible with devfs

Erik Andersen andersen at lineo.com
Mon May 21 23:01:33 UTC 2001


On Fri May 18, 2001 at 03:27:44PM -0400, Paul Dugas wrote:
> 
> Package: uclibc
> Version: snapshot
> Severity: normal
> 
> uClibc's ttyname is only looking for devices in /dev, not its
> subdirectories.  The new kernel's devfs creates virtual console devices
> as /dev/vc/# rather than /dev/tty# and serial interfaces as /dev/tts/#
> rather than /dev/ttyS#.  Perhaps ttyname needs to recurse throught the
> whole /dev tree or be smart about relevant subdirectories.  I guess I'll
> stay away from devfs for a while longer.
> 
> I'm running a monolithic 2.4.4 kernel with devfs enabled, Busybox 0.51,
> TinyLogin 0.80, with uClibc on an i486 based machine.

Could you try the latest from CVS and see if that fixes things
for you?  I just rewrote ttyname so it should now be devfs
friendly.  I don't use devfs myself, so I can't easily check...

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--






More information about the uClibc mailing list