'\" t .\" Title: rmmod .\" Author: Jon Masters .\" Generator: DocBook XSL Stylesheets v1.77.0 .\" Date: 06/19/2012 .\" Manual: rmmod .\" Source: kmod .\" Language: English .\" .TH "RMMOD" "8" "06/19/2012" "kmod" "rmmod" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" rmmod \- Simple program to remove a module from the Linux Kernel .SH "SYNOPSIS" .HP \w'\fBrmmod\fR\ 'u \fBrmmod\fR [\fB\-f\fR] [\fB\-w\fR] [\fB\-s\fR] [\fB\-v\fR] [\fImodulename\fR] .SH "DESCRIPTION" .PP \fBrmmod\fR is a trivial program to remove a module (when module unloading support is provided) from the kernel\&. Most users will want to use \fBmodprobe\fR(8) with the \fB\-r\fR option instead\&. .SH "OPTIONS" .PP \fB\-v\fR \fB\-\-verbose\fR .RS 4 Print messages about what the program is doing\&. Usually \fBrmmod\fR prints messages only if something goes wrong\&. .RE .PP \fB\-f\fR \fB\-\-force\fR .RS 4 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 (see \fBlsmod\fR(8))\&. .RE .PP \fB\-w\fR \fB\-\-wait\fR .RS 4 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\&. Nothing new will be able to use the module, but it\*(Aqs up to you to make sure the current users eventually finish with it\&. See \fBlsmod\fR(8)) for information on usage counts\&. .RE .PP \fB\-s\fR \fB\-\-syslog\fR .RS 4 Send errors to syslog instead of standard error\&. .RE .PP \fB\-V\fR \fB\-\-version\fR .RS 4 Show version of program and exit\&. .RE .SH "COPYRIGHT" .PP This manual page originally Copyright 2002, Rusty Russell, IBM Corporation\&. Maintained by Jon Masters and others\&. .SH "SEE ALSO" .PP \fBmodprobe\fR(8), \fBinsmod\fR(8), \fBlsmod\fR(8) \fBmodinfo\fR(8) .SH "AUTHORS" .PP \fBJon Masters\fR <\&jcm@jonmasters\&.org\&> .RS 4 Developer .RE .PP \fBLucas De Marchi\fR <\&lucas\&.demarchi@profusion\&.mobi\&> .RS 4 Developer .RE