How to write data to config file in kernel mode

Mar 12, 2009 1 Replies

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 .


This is generally considered to be a bad idea. See

formatting link
for details (and a way to do it anyway).

Kristof

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required