Kernel patch to send messages to log not console

From Organic Design wiki
Well, I don't know about boot messages, but this kills kernel messages for
me (diff -u  against stock 3.1 source):


--- subr_prf.c.orig	Tue May 21 23:33:29 2002
+++ subr_prf.c	Thu Jun 13 15:33:37 2002
@@ -482,7 +482,7 @@
 	savintr = consintr;		/* disable interrupts */
 	consintr = 0;
 	va_start(ap, fmt);
-	retval = kprintf(fmt, TOCONS | TOLOG, NULL, NULL, ap);
+	retval = kprintf(fmt, TOLOG, NULL, NULL, ap);
 	va_end(ap);
 	if (!panicstr)
 		logwakeup();




Mark.



On Thu, 13 Jun 2002, Jon Coller wrote:
> Hi,
>
> I'm trying to prevent any messages from being displayed to the terminal on
> boot, simply displaying a login prompt when ready. If any one knows how to
> hide kernel and boot mesasges it would be great.
>
> Thanks
> Jon


-- 
##  Mark Rottler    -    mark@rottler.org    -    317.501.6413   ##
##  It is necessary for us to learn from others' mistakes.       ##
##  You will not live long enough to make them all yourself.     ##
##                              -- Admiral Hyman G. Rickover     ##