lkml.org 
[lkml]   [1998]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Testers wanted: exorcised kmod.c: no more daemon!
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

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