As pointed out many time also in FAQ, it's not a kernel duty to write files. It's userspace application duty. To help applications accomplish their duty kernel offers system call such open(), close() and so on. It's a better idea to write the things you have to via /proc o similiar and let a deamon to write files... IMHO Ciao ciao sp0nge -----Original Message----- From: kernelnewbies-bounce@xxxxxxxxxxxx on behalf of Rajesh Mahajan Sent: Tue 01/08/2006 20.28 To: kernel Subject: Writing to file how we can write to a normal file in a kernel module which functions should be used. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ -- The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/