On Mon, Jun 03, 2002 at 08:22:56AM +0100, Chris Mason wrote: > Use printk() to print to syslog and check that. If you want to machine analize them, it's not as good idea. You can't use FILE *, because there's nothing like that in kernel. But you can use struct file *. Just you must path_walk yourself to find the file and open it and work with it using the filesystem methods. See khttpd for how it's done. > > I'm newbie in kernel development. I'm writing a driver, and i'want > > to save some values in a file to analyze them after execute my > > probes. Do i need something special if i want to use a FILE *file? > > > > I can compile my driver, but when i make 'insmod', it tell me that > > 'unresolved symbol fopen' and 'unresolved symbol fclose' :-? > > > > It's posible what i want to do? How? -------------------------------------------------------------------------------- - Jan Hudec `Bulb' <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/