Operating System - HP-UX
1831604 Members
2384 Online
110027 Solutions
New Discussion

Re: Accessing files from kernel modules.

 
Mandeep_2
Occasional Contributor

Accessing files from kernel modules.

Hi All,

Is it possible to access/modify configuration file from a kernel module ? If yes, what kernel API should I use to open/read/write to a file ?

Thanks in advance.

2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Accessing files from kernel modules.

I think the answer to your question is no.

I think the HP-UX kernel is a little different than you are used to from other OS.

What kind of configuration file do you wish to modify?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mandeep_2
Occasional Contributor

Re: Accessing files from kernel modules.

Thanks for the response.

Our kernel module requires some data to be written to a file( to make it persistent). Configuration file to let the kernel module know where to write the file. Writting to raw volume will require lots of effort and time.

Thanks.