Subject: Re: Errors in init
To: None <tech-kern@NetBSD.ORG>
From: der Mouse <mouse@Holo.Rodents.Montreal.QC.CA>
List: tech-kern
Date: 12/02/1996 11:22:51
>> There should be a new kernel function which only works for a process
>> with the PID 1 and which uses the *kernel* function to display text
>> on the console (same as the kernel during bootup).

> I think it would be a heck of a lot cleaner and simpler just to have
> the kernel do a quick check for /dev/console on the root device, and
> warn the user if it doesn't exist.

Cleaner yet, IMO, would be for the kernel to hand-craft fd 0/1/2 for
init, open onto the driver underlying /dev/console, without having to
refer to anything in the filesystem.

In the interim, see PR 2236, which includes a patch to warn at boot
time if "/dev/console" doesn't name anything.

					der Mouse

		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B