Re: printk flushing?

From: David S. Miller (davem@redhat.com)
Date: Thu Jan 27 2000 - 23:20:45 EST


   Date: Thu, 27 Jan 2000 21:07:53 -0700 (MST)
   From: Todd <todd@unm.edu>

   is there any easy way to flush the printk buffers onto disk?

They don't go to disk, they go into the kernel circular message
buffer. Syslogd writes them to disk, it will only miss them
if the in-kernel buffer wraps around before syslogd can read
what is there.

   or, put another way,

   is there any way to ensure that relatively high volume printk statements
   get cleanly output to logs?

Make the kernel message buffer larger in kernel/printk.c

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:20 EST