Messages in this thread | | | Date | Wed, 15 Apr 1998 01:57:03 +0200 | From | Sten Eriksson <> | Subject | Re: Testers wanted: exorcised kmod.c: no more daemon! |
| |
Adam J. Richter wrote: > As everyone on this mailing list seems to agree, there needs to be > a user level method for reading the mixer settings before the module > is removed. As far as the kmod/modprobe support goes, that is already > present. Just add lines like the following to /etc/conf.modules: > > pre-remove sound /usr/bin/save_mixer_settings > post-install sound /usr/bin/restore_mixer_settings > > If you want to do something more exotic, you can change the program > that request_module invokes (under all the versions of kmod) by writing > to /proc/sys/kernel/modprobe.
Hmm, since modprobe allready implements "-r" and executes stuff by the rules specified in /etc/conf.modules, would'nt it be great to implement "-r -a" that unloads modules like "rmmod -a", that would solve alot of the problems.
----------------------------------------------------------------- Sten Eriksson ! E-mail: sten.eriksson@udac.se UDAC AB / Datorhotellet ! Tel, work: +46 18 471 78 20 Box 174 ! Tel, mob: +46 70 542 47 03 SE-751 04 Uppsala ! Tel, fax: +46 18 51 66 00 SWEDEN ! -----------------------------------------------------------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |