Re: Flexible Console open (really little patch)

H. Peter Anvin (hpa@transmeta.com)
17 Aug 1998 06:13:57 GMT


Followup to: <Pine.LNX.3.96.980816194907.12849B-100000@babylon.clifford.at>
By author: Clifford Wolf <clifford@clifford.at>
In newsgroup: linux.dev.kernel
>
> I have a little patch here to make the opening of the initial console more
> flexible: It tries first to open /etc/console and after that /dev/console.
> The reason for this oerder is that one does not have controll of
> /dev/console if useing Richards devfs driver. Since /etc/console does not
> exist on most systems it will still open /dev/console on default. But if
> you use the devfs filesystem as /dev/ and you haven't enabled the "mount
> at boot time" option there will be no /dev/console and one can use
> /etc/console instead. On the other hand if you are using the "mount at
> boot time" option and you are not happy with the normal /dev/console you
> can override it useing /etc/console.
>

This is a broken patch for a broken problem. Please, don't put this
kind of crud in the kernel.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html