From 49f462da063e860dab57e051b51a5564fcff124c Mon Sep 17 00:00:00 2001 From: sin Date: Sat, 12 Apr 2014 15:21:11 +0100 Subject: [PATCH] Add rmmod manpage --- rmmod.8 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 rmmod.8 diff --git a/rmmod.8 b/rmmod.8 new file mode 100644 index 0000000..b7233fa --- /dev/null +++ b/rmmod.8 @@ -0,0 +1,23 @@ +.TH RMMOD 8 ubase-VERSION +.SH NAME +\fBrmmod\fR - Remove a module from the Linux kernel +.SH SYNOPSIS +\fBrmmod\fR [\fB-fw\fR] \fImodule...\fR +.SH DESCRIPTION +\fBrmmod\fR removes one or more modules from the kernel. +.SH OPTIONS +.TP +\fB-f\fR +This option can be extremely dangerous: it has no effect unless +CONFIG_MODULE_FORCE_UNLOAD was set when the kernel was compiled. +With this option, you can remove modules which are being used, or +which are not designed to be removed, or have been marked as unsafe. +.TP +\fB-w\fR +Normally, \fBrmmod\fR will refuse to unload modules which are in +use. With this option, \fBrmmod\fR will isolate the module, and +wait until the module is no longer used. Noone new will be +able to use the module, but s up to you to make sure the +current users eventually finish with it. +.SH SEE ALSO +insmod(8), lsmod(8)