In this case bj0rn's post-xxx syntax is not useful at all.
I would propose adding two module related syscalls,
module_save_status()
module_load_status()
and a switch to insmod/rmmod to tell the module to load a saved status
the status could be kept in an area of memory allocated by kerneld,
or maybe in a (db[m]) file in /var/run (just remember to clear it
at boot time)
Any feedback....
Bj0rn... ?!?
regards,
Luca
-- #include <disclaimer.h> +----------------------------------------------------------------------------+ | Luca Berra -- S.I.W.A. Politecnico di Milano | | Phone: +39-2-23992413 - e-mail: bluca@www.polimi.it | | PGP public key available via finger | +----------------------------------------------------------------------------+