devfs
[Top] [All Lists]

serial console under devfs

To: devfs@xxxxxxxxxxx
Subject: serial console under devfs
From: Thomas Duffy <tduffy@xxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Aug 2000 12:59:54 -0700 (PDT)
Sender: owner-devfs@xxxxxxxxxxx
So, I have been having a problem getting devfs to allow me to make
/dev/console redirected to the serial port.

On an non devfs system, I simply removed /dev/console and then re-mknod it
to be c 4 64 which corresponds to ttyS0.  Under devfs, check out what
happens:

[root@tigershark /root]# ls -l /dev/console
crw-------    1 root     root       5,   1 Aug  4 11:09 /dev/console
[root@tigershark /root]# rm /dev/console
rm: remove `/dev/console'? y   
[root@tigershark /root]# ls -l /dev/console
ls: /dev/console: No such file or directory
[root@tigershark /root]# mknod /dev/console c 4 64
[root@tigershark /root]# ls -l /dev/console
crw-------    0 root     root       5,   1 Aug  4 11:09 /dev/console
[root@tigershark /root]# rm /dev/console
rm: remove `/dev/console'? y
[root@tigershark /root]# ln -s /dev/ttyS0 /dev/console
[root@tigershark /root]# ls -l /dev/console
crw-------    0 root     root       5,   1 Aug  4 11:09 /dev/console

Devfs seems to be stopping me from making /dev/console anything else.  I
looked through the devfsd.conf documentation and I was unsure how or if is
was possible to configure this there.  Does anybody have any insight on
how to make this possible?

Thanks,

-tduffy
sgi


<Prev in Thread] Current Thread [Next in Thread>