File: rmmod.8

package info (click to toggle)
kmod 9-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 11,808 kB
  • sloc: ansic: 12,151; sh: 11,490; xml: 1,605; makefile: 329
file content (98 lines) | stat: -rw-r--r-- 3,055 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
'\" t
.\"     Title: rmmod
.\"    Author: Jon Masters <jcm@jonmasters.org>
.\" Generator: DocBook XSL Stylesheets v1.77.0 <http://docbook.sf.net/>
.\"      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