Udev messages on the console

Darcy Roberts darcy_ro at msn.com
Mon Jan 29 11:46:07 PST 2007


> -----Original Message-----
> From: lfs-support-bounces at linuxfromscratch.org 
> [mailto:lfs-support-bounces at linuxfromscratch.org] On Behalf 
> Of Ken Moffat
> Sent: Monday, January 29, 2007 2:23 PM
> To: LFS Support List
> Subject: Re: Udev messages on the console
> 
> 
> On Mon, Jan 29, 2007 at 02:02:14PM -0500, Darcy Roberts wrote:
> > (running a finished LFS 6.2 system)
> > 
> > How do I stop udev from outputting messages to the console? 
> IE when I 
> > insert a CF or USB flash device, a bunch of annoying 
> messages shows up 
> > on my text console. I've looked in udev.conf, but cannot 
> see anything 
> > jumping out at me.
> > 
>  Assuming these are kernel informational or debug messages, 
> change the logging level.  I run the following to ensure only 
> errors or worse hit the console.  The original suggestion was 
> from somebody on lfs or blfs support several years ago, 
> possibly Marc Heerdink -
> 
>  sed -i 's/\(loadproc klogd\)/\1 -c 4/' /etc/rc.d/init.d/sysklogd
> 
> See 'man klogd' and be sceptical when it says klogd doesn't 
> need to set this value anymore.
> 
> ?en
> -- 
> das eine Mal als Tragödie, das andere Mal als Farce
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
> 

That's got it!  You are right, 'man klogd' says I don't need it. The
messages are still going to the kern.log but not to my console now. Nice and
clean.
Thanks again.
Regards,
Darcy 




More information about the lfs-support mailing list