Hi, I want to dump a packet in a file from the kernel itself. Now, I think this will not work, as kernel is not a process and every file is related to file descriptor. Therefore, I am thinking of using printk. The thing is I want to increase the debug level of printk ( to 8), so that my daemon will write the buffer in my specified temp file. Thanx Piyush __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/