From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 17:16:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 002701065675 for ; Wed, 7 Jan 2009 17:16:06 +0000 (UTC) (envelope-from krad@snaffler.net) Received: from mk-filter-2-a-1.mail.uk.tiscali.com (mk-filter-2-a-1.mail.uk.tiscali.com [212.74.100.53]) by mx1.freebsd.org (Postfix) with ESMTP id 7B0E98FC1D for ; Wed, 7 Jan 2009 17:16:05 +0000 (UTC) (envelope-from krad@snaffler.net) X-Trace: 126961393/mk-filter-2.mail.uk.tiscali.com/B2C/$b2c-TRUSTED/b2c-IMPLICITLY_TRUSTED/212.74.112.53/None/krad@snaffler.net X-SBRS: None X-RemoteIP: 212.74.112.53 X-IP-MAIL-FROM: krad@snaffler.net X-MUA: Thunderbird 2.0.0.17 (X11/20081023) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjUBAJdyZEnUSnA1/2dsb2JhbAAI0FKFdQ X-IronPort-AV: E=Sophos;i="4.37,227,1231113600"; d="scan'208";a="126961393" Received: from e1-1.ns500-1.ts.milt.as9105.net (HELO [10.44.24.37]) ([212.74.112.53]) by smtp.tiscali.co.uk with ESMTP; 07 Jan 2009 17:15:52 +0000 Message-ID: <4964E335.1070702@snaffler.net> Date: Wed, 07 Jan 2009 17:15:33 +0000 From: "chris.scott" User-Agent: Thunderbird 2.0.0.17 (X11/20081023) MIME-Version: 1.0 To: David Horn References: <4964CFA3.9020404@snaffler.net> <25ff90d60901070910m1aec9bd6u17c903430cc6aed0@mail.gmail.com> In-Reply-To: <25ff90d60901070910m1aec9bd6u17c903430cc6aed0@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Kernel messages redirection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2009 17:16:07 -0000 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 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" >> >> > >