Help!

How to write data to config file in kernel mode

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Embeded RSS
Next:  Bug#511334: debian-installer: S390 boot fails on ..  
Author Message
Kid
External


Since: Mar 12, 2009
Posts: 1



PostPosted: Thu Mar 12, 2009 1:45 am    Post subject: How to write data to config file in kernel mode
Archived from groups: comp>os>linux>embedded (more info?)

Hi

I want to save some config data in kernel mode but my driver does not
implement fs_operation functions .

Is there some functions which can read and write files in kernel
mode ?

I know Windows has kernel mode file functions , how can I do that in
Linux ?

Thank you .
Back to top
Kristof Provost
External


Since: Mar 12, 2009
Posts: 1



PostPosted: Thu Mar 12, 2009 7:10 am    Post subject: Re: How to write data to config file in kernel mode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2009-03-12, Kid <kid1972tw.DeleteThis@yahoo.com.tw> wrote:
>
>
> Hi
>
> I want to save some config data in kernel mode but my driver does not
> implement fs_operation functions .
>
> Is there some functions which can read and write files in kernel
> mode ?
>
This is generally considered to be a bad idea. See
http://www.linuxjournal.com/article/8110 for details (and a way to do it
anyway).

Kristof
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Embeded All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum