Why is /dev/console linked to /dev/tty0?
recently, I wanted to use an Eterm as a substitute for
xconsole. Eterm -C lets it listen to /dev/console.
On Debian systems, however, /dev/console is linked to /dev/tty0:
lrwxrwxrwx 1 root root 4 Apr 7 1999 /dev/console -> tty0
so *Eterm doesn't catch anything*. xconsole, OTOH, displays fine what
I'm echoing to /dev/console.
To prevent suggestions in the wrong direction: no, I'm not using
syslogd for these messages. I just do things like
echo "Running exim..." > /dev/console
in my /etc/ppp/ip-up.d/ scripts.
Both using syslogd or removing this link to /dev/tty0 seem like
cowardice to me.
Why is this link done anyway? This is Debian specific, AFAIK.
How could I fix this cleanly?
PS: My system is plain slink.
| Re: Kernel size is 666K! I kid you not!
| by Anonymous Coward on Tuesday January 26, @08:50AM
| I came home from a Barry Manilow concert once and had 666 burned into
| my forehead! I shit you not! [Kernel 2.2.0 is announced on /.]