kernel database.

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Sourcer
Member
Member
Posts: 58
Joined: Fri Jun 17, 2016 11:29 pm
Libera.chat IRC: WalterPinkman

kernel database.

Post by Sourcer »

How do you keep information you need after shutting down the computer
When the bootloader loads the kernel, i'm trying to optimize the initialization and cache things that were already loaded.

Thanks.
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Re: kernel database.

Post by ~ »

You could use SQLite3 and SQLite3 Amalgamation for really persistent data.

You could also use a set of cache and configuration files with journaling in a tree with some logic, to keep device detection and configuration information, as well as user preferences and configuration changes to apply at boot time. Also files to resume the whole system.
Post Reply