Re: your mail

Jesper Juhl
2009-01-11T06:47:22Z

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