From: Matt Zimmerman <mdz@de...> - 2003-02-16 04:37:34
I am working on a UML application which uses serial channels for
communication with the host, and I noticed that while it worked with the
devfs name (/dev/tts/0), it did not with /dev/ttyS0. Further examination
showed that they are not equivalent in UML:
UML:/# ls -l /dev/ttyS0
crw-rw---- 1 root dialout 4, 64 Feb 4 05:50 /dev/ttyS0
UML:/# ls -l /dev/tts/0
crw------- 1 root root 5, 64 Jan 1 1970 /dev/tts/0
That is, UML ssl devices use TTYAUX_MAJOR, while real serial devices use
TTY_MAJOR, but they share the same namespace. Is there a reason why this is
done this way? It requires that I create some new, nonstandard devices in
order to work without devfs.
From: Jeff Dike <jdike@ka...> - 2003-02-17 02:37:45
> That is, UML ssl devices use TTYAUX_MAJOR, while real serial devices
> use TTY_MAJOR, but they share the same namespace. Is there a reason
> why this is done this way?
Would it fix your problem to just switch to TTY_MAJOR?