[BusyBox] Console detection code in init...

Jon McClintock jonm at bluemug.com
Fri Mar 30 02:37:26 UTC 2001


On Thu, Mar 29, 2001 at 06:34:21PM -0800, Jon McClintock wrote:
> I was looking through the init code trying to figure out why the output
> of the sysinit processes was going to tty0 instead of the real console
> (/dev/ttyS0 or /dev/null, depending upon circumstances), and saw that it
> was jumping through some pretty complicated hoops to guess the console.
> 
> Is it possible to have it use /dev/console instead? Or is this a 2.4.x'ism?

Err, wait. Looking at the code again, it does use /dev/console, but only as
a last resort. Why?

-Jon





More information about the busybox mailing list