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

Henrik Storner (storner@image.dk)
Wed, 15 Apr 1998 22:53:18 +0200


Greg Zornetzer <gaz@andrew.cmu.edu>:

>As has been mentioned before (I believe by Adam), writing a
>program that sits in the background, wakes up every x seconds, and
>autocleans the modules is _very_ trivial.

How about adding an option to rmmod that puts it in daemon mode, where
is does the "do { sleep(60); rmmod_main("-a"); } while (1);" loop.

You could then have /sbin/kerneld as a link to /sbin/rmmod, and if the
updated rmmod went into daemon mode when invoked as "kerneld", people
would not have to change their startup-scripts at all!

That would make upgrading 2.0 -> 2.2 much easier for a lot of people.

-- 
Henrik Storner  |  "testing? What's that? If it compiles, it is good, 
                |   if it boots up it is perfect."
                |                                    Linus Torvalds

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