* Implement actions in kmod tool like 'insert', 'remove', 'info', etc
-* Deprecate "rmmod -w", friends and KMOD_REMOVE_NOWAIT from libkmod.
- The blocking delete_module will be removed from the kernel. Deprecate it and
- print a warning to the user because he shouldn't be using it.
+* Finish removal of "rmmod -w" when it's gone from kernel.
+
+* Deprecate not using KMOD_REMOVE_NOWAIT on libkmod.
Things to be added/removed in kernel (check what is really needed):
===================================================================
"\t-s, --syslog print to syslog, not stderr\n"
"\t-v, --verbose enables more messages\n"
"\t-V, --version show version\n"
- "\t-w, --wait begins module removal even if it is used and\n"
- "\t will stop new users from accessing it.\n"
"\t-h, --help show this help\n",
progname);
}
verbose++;
break;
case 'w':
+ fprintf(stderr, "'Wait' behavior is targeted for removal from kernel.\nWe will now sleep for 10s, and then continue.\n");
+ sleep(10);
flags &= ~KMOD_REMOVE_NOWAIT;
break;
case 'h':