Hi... > You can use printk() and then have those kernel messages end up in > system logs via klogd/syslogd. > You could then tag your messages somehow; perhaps by using some > prefix on every logged line and then later extract those messages out > into a sepperate log file ((e)grep works well for that). Jesper, I think I agree with you about the above idea. In fact, I think this is the fastest and the cleanest way to do what Arun want. Kernel space does what it needs, user space filters it. regards Mulyadi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/