Kernel messages redirection

David Horn dhorn2000 at gmail.com
Wed Jan 7 09:10:14 PST 2009


On Wed, Jan 7, 2009 at 10:52 AM, chris.scott <krad at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list