Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2009 12:10:12 -0500
From:      "David Horn" <dhorn2000@gmail.com>
To:        "chris. scott" <krad@snaffler.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Kernel messages redirection
Message-ID:  <25ff90d60901070910m1aec9bd6u17c903430cc6aed0@mail.gmail.com>
In-Reply-To: <4964CFA3.9020404@snaffler.net>
References:  <4964CFA3.9020404@snaffler.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 7, 2009 at 10:52 AM, chris.scott <krad@snaffler.net> wrote:
>
> hi
>
> Does anyone know howto redirect/stop kernel messages from displaying on
> ttyv0?

Look at conscontrol(8) as one option. ( There may be other ways that
work better for your case, but I have used conscontrol on my
7.0-RELEASE machine before with success )

You can use conscontrol(8) to either mute, or redirect kernel messages
to another virtual console.

Good Luck.

---Dave Horn

>
> eg when you plug in a usb disk you get a load of messages to the 1st screen
> console
>
> I am writing a custom installer and its a pain as every time I label and
> geom provider it spams a load of stuff and messes up my nice display. This
> is nothing to do with syslog as I have already turned off logging to
> /dev/console, ive tried a few curious looking sysctl varibles but not found
> anything that works yet.
>
>
> k
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25ff90d60901070910m1aec9bd6u17c903430cc6aed0>