Results 1 to 2 of 2
Hi, I'm working on a battery driver. And ran into the need to save configuration and other variables to a disk, so the driver can reload it, and resume from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-27-2012 #1Just Joined!
- Join Date
- Sep 2011
- Posts
- 5
Save data/config from the Kernel
Hi, I'm working on a battery driver. And ran into the need to save configuration and other variables to a disk, so the driver can reload it, and resume from the same state after the reboot.
Any standard mechanisms for doing this?
Thanks!
- 08-04-2012 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,160
Configuration data is usually stored in /etc, such as /etc/battery.conf.d/battery.conf. Runtime data is usually put in someplace such as /opt/battery, or /usr/share/battery. Where isn't so important as consistency.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
