Messages in this thread | | | Date | Sun, 11 Jan 2009 07:47:11 +0100 (CET) | From | Jesper Juhl <> | Subject | Re: your mail |
| |
On Sat, 10 Jan 2009, Jose Luis Marchetti wrote:
> Hi, > > I would like to open/read/write/close a regular file from my device > driver.
That's probably a bad idea and what you really want to do is use procfs, sysfs, debugfs, relayfs, module parameters or similar.
Take a look here: http://kernelnewbies.org/FAQ/WhyWritingFilesFromKernelIsBad
-- Jesper Juhl <jj@chaosbits.net> http://personal.chaosbits.net/ Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html
| |