LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-20-2005, 02:22 AM   #1
/usr/src
LQ Newbie
 
Registered: Jan 2005
Location: India
Distribution: Fedora Core 5
Posts: 6

Rep: Reputation: 0
Unhappy 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.
 
Old 10-20-2005, 02:26 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
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.
 
Old 10-20-2005, 02:36 AM   #3
/usr/src
LQ Newbie
 
Registered: Jan 2005
Location: India
Distribution: Fedora Core 5
Posts: 6

Original Poster
Rep: Reputation: 0
Ok, but how do I get a device driver code executing in kernel space to read these user space files?
 
Old 10-20-2005, 02:40 AM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SCSI-3 Persist Reservation using cciss driver merry Linux - Hardware 2 05-22-2007 01:47 PM
HELP: running process in bg and logout and persist... woes :S kevingpo Fedora 1 09-09-2005 01:10 AM
debian make settings oldstinkyfish Linux - Software 4 11-15-2004 07:19 AM
how to make settings the same for all users tapanga Linux - Software 3 06-01-2004 11:45 AM
[SOLVED] If I make it beep it reboots. Louis_Carole Linux - Newbie 4 02-06-2004 07:32 PM


All times are GMT -5. The time now is 10:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration