Directing kernel messages to file

2005-06-22 Thread Shachar Shemesh
Hi all, I need to direct the kernel messages to a file, instead of going to a tty. I know how to direct it to a serial console, but I want it not displayed on any interactive medium at all. Is it at all possible? Shachar -- Shachar Shemesh Lingnu Open Source Consulting ltd.

Re: Directing kernel messages to file

2005-06-22 Thread Yedidyah Bar-David
On Wed, Jun 22, 2005 at 02:49:38PM +0300, Shachar Shemesh wrote: Hi all, I need to direct the kernel messages to a file, instead of going to a tty. I know how to direct it to a serial console, but I want it not displayed on any interactive medium at all. Is it at all possible? I don't

Re: Directing kernel messages to file

2005-06-22 Thread Shachar Shemesh
Yedidyah Bar-David wrote: On Wed, Jun 22, 2005 at 02:49:38PM +0300, Shachar Shemesh wrote: Hi all, I need to direct the kernel messages to a file, instead of going to a tty. I know how to direct it to a serial console, but I want it not displayed on any interactive medium at all. Is it

Re: Directing kernel messages to file

2005-06-22 Thread Gilboa Davara
syslogd and klogd will log the messages under /var/log/message (or what-ever file configured in /etc/syslog.conf) Adding 'dmesg -n 1' to the rc.local will prevent non-critical messages from making their way into a console. Gilboa On Wed, 2005-06-22 at 14:49 +0300, Shachar Shemesh wrote: Hi

Re: Directing kernel messages to file

2005-06-22 Thread Omer Zak
When the kernel starts to boot, it does not have yet support for any filesystem. So you have to write to a raw disk partition (whose sector address is set ahead of time by a means similar to that of LILO), or allocate a RAM area (immediately after memory test) to serve as a buffer for kernel