From owner-freebsd-questions Sat Mar 30 13:34:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from catalyst.sasknow.net (catalyst.sasknow.net [207.195.92.130]) by hub.freebsd.org (Postfix) with ESMTP id 2BF2237B400 for ; Sat, 30 Mar 2002 13:34:29 -0800 (PST) Received: from localhost (ryan@localhost) by catalyst.sasknow.net (8.11.6/8.11.6) with ESMTP id g2ULYM791790; Sat, 30 Mar 2002 15:34:23 -0600 (CST) (envelope-from ryan@sasknow.com) X-Authentication-Warning: catalyst.sasknow.net: ryan owned process doing -bs Date: Sat, 30 Mar 2002 15:34:22 -0600 (CST) From: Ryan Thompson To: Robert Heron Cc: questions@FreeBSD.ORG Subject: Re: kernel messages - how to remove? In-Reply-To: <20020330205205.O80586-100000@sys.heron.com.pl> Message-ID: <20020330152733.U71493-100000@catalyst.sasknow.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Robert Heron wrote to questions@FreeBSD.ORG: > Hi, > > is it possible to remove kernel messages being displayed (in bright > white) during FreeBSD kernel start-up? I had searched a proper > option in LINT, but found nothing. Not that I'm aware of... You could try grepping the kernel sources for ``printf'' :-) None of the kernel boot-up messages that I have looked at recently are wrapped in any #ifdef or other conditional which could be used to prevent their display. After syslogd(8) is started (after the kernel is finished initializing, and init(8) is started), kernel warning and error messages are output to the console (in bright white). Is it possible that is what you are referring to? If so, read up on syslog.conf(5), and learn how to edit /etc/syslog.conf to squelch the console output. I must confess that I don't really understand why you'd want to do this, though. Maybe I'm misunderstanding your question. - Ryan -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message