Date: Wed, 07 Jan 2009 17:15:33 +0000 From: "chris.scott" <krad@snaffler.net> To: David Horn <dhorn2000@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Kernel messages redirection Message-ID: <4964E335.1070702@snaffler.net> In-Reply-To: <25ff90d60901070910m1aec9bd6u17c903430cc6aed0@mail.gmail.com> References: <4964CFA3.9020404@snaffler.net> <25ff90d60901070910m1aec9bd6u17c903430cc6aed0@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
typical, after hunting around for a few days and not no luck, i get luck just after giving in and posting to this list 8/ $ sysctl -a| grep mute kern.consmute: 0 does the job setting it in boot/loader.conf makes the kernel silently boot but im setting in in /etc/sysctl.conf so it set at userland. This way i can see the kernel boot normally rather than looking like its hung, no anoying geom messages now hmm, now to tidy up stuff that looked like it was working nicely before i ran it in the root console David Horn wrote: > 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?4964E335.1070702>