1RMMOD(8)                                                              RMMOD(8)
2
3
4

NAME

6       rmmod - simple program to remove a module from the Linux Kernel
7

SYNOPSIS

9       rmmod [ -f ] [ -w ] [ -s ] [ -v ] [ modulename ]
10
11

DESCRIPTION

13       rmmod  is  a  trivial program to remove a module from the kernel.  Most
14       users will want to use modprobe(8) instead, with the -r option.
15

OPTIONS

17       -v --verbose
18              Print messages about what the program is doing.   Usually  rmmod
19              only prints messages if something goes wrong.
20
21       -f --force
22              This  option can be extremely dangerous: it has no effect unless
23              CONFIG_MODULE_FORCE_UNLOAD was set when the kernel was compiled.
24              With  this  option, you can remove modules which are being used,
25              or which are not designed to be removed, or have been marked  as
26              unsafe (see lsmod(8)).
27
28       -w --wait
29              Normally,  rmmod will refuse to unload modules which are in use.
30              With this option, rmmod will isolate the module, and wait  until
31              the module is no longer used.  Noone new will be able to use the
32              module, but it's up to you to make sure the current users  even‐
33              tually  finish  with it.  See lsmod(8)) for information on usage
34              counts.
35
36       -s --syslog
37              Send errors to the syslog, instead of standard error.
38
39       -V --version
40              Show version of program, and exit.  See below for  caveats  when
41              run on older kernels.
42

BACKWARDS COMPATIBILITY

44       This version of rmmod is for kernels 2.5.48 and above.  If it detects a
45       kernel with support for old-style modules (for which much of  the  work
46       was  done in userspace), it will attempt to run rmmod.old in its place,
47       so it is completely transparent to the user.
48
50       This manual page Copyright 2002, Rusty Russell, IBM Corporation.
51

SEE ALSO

53       modprobe(8), insmod(8), lsmod(8), rmmod.old(8)
54
55
56
57                                 22 March 2007                        RMMOD(8)
Impressum