The messag log is effctive and direct method  to debug  kernal module. To 
collect the interested module's informations  , we only  use the shell script  
on the /var/adm/messags . So,I want to record module's  log in   separate file 
acording  on module's name.

I face two problem:
i) how to create my own file in kernal env;
ii) how to write msgbuf to the file created by step i).

Are  there some interfaces to achive the above aims?

I hope your help .
Thanks!
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to