[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set_fs



On Wed, Aug 04, 2004 at 01:23:21PM -0400, Brad Dickerson wrote:
> Hi,
>  I was not aware it was evil to call open from a kernel space module. 
> Why?

Please search the archives for the answer to this.

> Should I use some other function to access the files on disk from 
> kernel space? Need the persistence feature of disks in my module.

No, you should rewrite your code to not need that feature.

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/