'\" t .\" Title: rmmod .\" Author: Jon Masters .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 02/09/2023 .\" Manual: rmmod .\" Source: kmod .\" Language: English .\" .TH "RMMOD" "8" "02/09/2023" "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\-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 since it removes unused dependent modules as well\&. .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\-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) \fBdepmod\fR(8) .SH "AUTHORS" .PP \fBJon Masters\fR <\&jcm@jonmasters\&.org\&> .RS 4 Developer .RE .PP \fBLucas De Marchi\fR <\&lucas\&.de\&.marchi@gmail\&.com\&> .RS 4 Developer .RE