LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to make driver's settings persist across reboots (http://www.linuxquestions.org/questions/linux-general-1/how-to-make-drivers-settings-persist-across-reboots-374940/)

/usr/src 10-20-2005 02:22 AM

How to make driver's settings persist across reboots
 
Hi,
I'm modifying a network device driver code, so that a user can change the driver's settings thru ioctls. However, I don't know how to ensure that the user's changes persist across reboot. - I mean when the user makes changes where to store them so that they can be read by the kernel at startup time.
Any help in this regard would be apprecaited.

trickykid 10-20-2005 02:26 AM

Create a conf file and add it in your appropiate startup runlevel config files to be called upon during boot time.. rc.local works or any others you want to hack away at, depending on what distro your using.

/usr/src 10-20-2005 02:36 AM

Ok, but how do I get a device driver code executing in kernel space to read these user space files?

trickykid 10-20-2005 02:40 AM

Not sure, I'm not a programmer. Perhaps you should learn how to hack kernel code.


All times are GMT -5. The time now is 10:34 AM.