3 <!DOCTYPE refentry PUBLIC
"-//OASIS//DTD DocBook XML V4.2//EN"
4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
8 <productname>kmod
</productname>
12 <contrib>Developer
</contrib>
13 <firstname>Jon
</firstname>
14 <surname>Masters
</surname>
15 <email>jcm@jonmasters.org
</email>
18 <contrib>Developer
</contrib>
19 <firstname>Lucas
</firstname>
20 <surname>De Marchi
</surname>
21 <email>lucas.de.marchi@gmail.com
</email>
27 <refentrytitle>rmmod
</refentrytitle>
28 <manvolnum>8</manvolnum>
32 <refname>rmmod
</refname>
34 Simple program to remove a module from the Linux Kernel
40 <command>rmmod
</command>
41 <arg><option>-f
</option></arg>
42 <arg><option>-s
</option></arg>
43 <arg><option>-v
</option></arg>
44 <arg><replaceable>modulename
</replaceable></arg>
48 <refsect1><title>DESCRIPTION
</title>
50 <command>rmmod
</command> is a trivial program to remove a module (when
51 module unloading support is provided) from the kernel. Most users will
54 <refentrytitle>modprobe
</refentrytitle><manvolnum>8</manvolnum>
55 </citerefentry> with the
<option>-r
</option> option instead
56 since it removes unused dependent modules as well.
60 <refsect1><title>OPTIONS
</title>
67 <option>--verbose
</option>
71 Print messages about what the program is doing.
72 Usually
<command>rmmod
</command> prints messages
73 only if something goes wrong.
82 <option>--force
</option>
86 This option can be extremely dangerous: it has no effect unless
87 CONFIG_MODULE_FORCE_UNLOAD was set when the kernel was compiled.
88 With this option, you can remove modules which are being used, or
89 which are not designed to be removed, or have been marked as unsafe
91 <refentrytitle>lsmod
</refentrytitle><manvolnum>8</manvolnum>
101 <option>--syslog
</option>
105 Send errors to syslog instead of standard error.
110 <term><option>-V
</option> <option>--version
</option>
114 Show version of program and exit.
122 <title>COPYRIGHT
</title>
124 This manual page originally Copyright
2002, Rusty Russell, IBM
125 Corporation. Maintained by Jon Masters and others.
129 <refsect1><title>SEE ALSO
</title>
132 <refentrytitle>modprobe
</refentrytitle><manvolnum>8</manvolnum>
135 <refentrytitle>insmod
</refentrytitle><manvolnum>8</manvolnum>
138 <refentrytitle>lsmod
</refentrytitle><manvolnum>8</manvolnum>
141 <refentrytitle>modinfo
</refentrytitle><manvolnum>8</manvolnum>
144 <refentrytitle>depmod
</refentrytitle><manvolnum>8</manvolnum>