Tizen 2.0 Release
[external/module-init-tools.git] / rmmod.8
1 .\\" auto-generated by docbook2man-spec $Revision: 1.2 $
2 .TH "RMMOD" "8" "2010-03-01" "" ""
3 .SH NAME
4 rmmod \- simple program to remove a module from the Linux Kernel
5 .SH SYNOPSIS
6 .sp
7 \fBrmmod\fR [ \fB-f\fR ]  [ \fB-w\fR ]  [ \fB-s\fR ]  [ \fB-v\fR ]  [ \fB\fImodulename\fB\fR ] 
8 .SH "DESCRIPTION"
9 .PP
10 \fBrmmod\fR is a trivial program to remove a
11 module (when module unloading support is provided) from the kernel.
12 Most users will want to use
13 \fBmodprobe\fR(8) with the \fB-r\fR option instead.
14 .SH "OPTIONS"
15 .TP
16 \fB-v --verbose\fR
17 Print messages about what the program is doing.
18 Usually \fBrmmod\fR prints messages
19 only if something goes wrong.
20 .TP
21 \fB-f --force\fR
22 This option can be extremely dangerous: it has no effect unless
23 CONFIG_MODULE_FORCE_UNLOAD was set when the kernel was
24 compiled. With this option, you can remove modules which are
25 being used, or which are not designed to be removed, or have
26 been marked as unsafe (see \fBlsmod\fR(8)).
27 .TP
28 \fB-w --wait\fR
29 Normally, \fBrmmod\fR will refuse to
30 unload modules which are in use. With this option,
31 \fBrmmod\fR will isolate the module, and
32 wait until the module is no longer used. Nothing new
33 will be able to use the module, but it's up to you to
34 make sure the current users eventually finish with it.
35 See \fBlsmod\fR(8)) for information on usage counts.
36 .TP
37 \fB-s --syslog\fR
38 Send errors to syslog instead of standard error.
39 .TP
40 \fB-V --version\fR
41 Show version of program and exit.
42 .SH "COPYRIGHT"
43 .PP
44 This manual page originally Copyright 2002, Rusty Russell, IBM
45 Corporation. Maintained by Jon Masters and others.
46 .SH "SEE ALSO"
47 .PP
48 \fBmodprobe\fR(8),
49 \fBinsmod\fR(8),
50 \fBlsmod\fR(8)
51 \fBmodinfo\fR(8)