Re: Flexible Console open (really little patch)

Clifford Wolf (clifford@clifford.at)
Mon, 17 Aug 1998 10:58:23 +0200 (MEST)


On 17 Aug 1998, H. Peter Anvin wrote:

> 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

I don't think so. It solves a problem at a very easy way and does not
hurt anyone. We support a few paths for the init program - why don't
be flexible with the path of /dev/console? (Specialy if there is a good
reason for: it's possible that /dev will be mounted later from a boot
script.)

- clifford

-- -- -- -- -- -- -- -- -- -- -- -- --
Clifford Wolf
magnet - Internet at Work IRC: efnet / clifford
Director of System Development http://www.clifford.at/
e-mail: c.wolf@magnet.at email: god@clifford.at

-
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