Re: boot-floppies broken for 2.0 kernels?
Loic Prylli wrote:
>
> Eric Delaunay writes:
> >
> > The miniroot install (the one on root.bin) does not make use of /dev/console
> > at all for 2.0 kernels, therefore there is no need to symlink it to /dev/tty0.
> > /dev/console is only used by 2.2 here (see init.c).
>
>
> Ok I am probably wrong, I was trying to interpret a bug report that I
> got. Just to be sure, are you sure the fact that /dev/console is open
> as part of kernel initialisation does not interfere?
kernel 2.0 does not seem to open /dev/console at all. It makes use of
/dev/tty1 or ttyS0 directly. See init/main.c :
if ((open("/dev/tty1",O_RDWR,0) < 0) &&
(open("/dev/ttyS0",O_RDWR,0) < 0))
printk("Unable to open an initial console.\n");
Regards.
--
Eric Delaunay | "La guerre justifie l'existence des militaires.
delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)
Reply to: