[lkml]   [2003]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: File access
On Thu, Aug 14, 2003 at 12:32:18PM +0100, Simon Haynes wrote:
> I am currently developing a module which I would like to configure
> via a simple text file.
> I cannot seem to find any information on accessing files via a kernel
> module.
> Is this possible and if so how is it done ?

Yes, but it is rather complicated business, and really should not
be done in kernel. It can be done, but like Richard said, defining
your own set of IOCTLs for the device is better. The complicated
configuration file parsing can then reside in the user-space utility

> Many Thanks
> Simon.

/Matti Aarnio
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.055 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site