Re: Testers wanted: exorcised kmod.c: no more daemon!

Adam J. Richter (adam@yggdrasil.com)
Mon, 13 Apr 1998 23:23:31 -0700


>Losing the auto-unload would break at least one aspect of my setup, unless
>some method of saying "I'm done, take it out" from userspace was
>available. Specifically, I use the auto-unload feature to crank out the
>bttv module when done using the card, since having it loaded blocks out
>the "passthrough" audio port on the board.

As I said in my original message, just have "rmmod -a"
run periodically from root's crontab. In the example I gave,
it would run every five minutes. "rmmod -a" only unloads the
unused autoloaded modules. It is exactly the same thing
that the kmod daemon did. They both call unload_module(NULL).
So, my kmod changes do not create any new problems for you.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 205
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu