On Monday, September 14, 2009 10:07:58 Leonidas . wrote:
> When we do a printk it writes to kernel log buffer, correct? This is
>  real in time operation i.e. as soon as we do a
> printk the messages get logged. Now this log file can be accesses
>  from /var/log/messages right? How is this done?
> 
> I want to so something similar, so I can log my messages to a seprate
>  file which is going to stay around so user can
> see at across reboots as well.

You could set up a new logging facility for your kernel module, and use 
the system logger to log everything from that facility to a separate 
file. Why wouldn't this work for you?

Regards,
Lori

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to