lkml.org 
[lkml]   [1998]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.032 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site