On Thu, May 16, 2002 at 10:32:42AM +0200, joost@lynx.huygens.org wrote: > I'm working on a module which, amongst others, calculates time differences > from sk_buff timestamps between different nodes in a network. I want to > store the results in a file, but unfortunately fopen etc. are not > available in kernel space. > > Anybody got an idea? Yes, do not do that :) Seriously, don't try to write files from kernelspace. Save the data in a buffer, and have a userspace program read the data from your driver through a char device node. Good luck, greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/