1RMMOD(8) RMMOD(8)
2
3
4
6 rmmod - simple program to remove a module from the Linux Kernel
7
9 rmmod [ -f ] [ -w ] [ -s ] [ -v ] [ modulename ]
10
12 rmmod is a trivial program to remove a module from the kernel. Most
13 users will want to use modprobe(8) with the -r option instead.
14
16 -v --verbose
17 Print messages about what the program is doing. Usually rmmod
18 prints messages only if something goes wrong.
19
20 -f --force
21 This option can be extremely dangerous: it has no effect unless
22 CONFIG_MODULE_FORCE_UNLOAD was set when the kernel was compiled.
23 With this option, you can remove modules which are being used,
24 or which are not designed to be removed, or have been marked as
25 unsafe (see lsmod(8)).
26
27 -w --wait
28 Normally, rmmod will refuse to unload modules which are in use.
29 With this option, rmmod will isolate the module, and wait until
30 the module is no longer used. Nothing new will be able to use
31 the module, but it's up to you to make sure the current users
32 eventually finish with it. See lsmod(8)) for information on
33 usage counts.
34
35 -s --syslog
36 Send errors to syslog instead of standard error.
37
38 -V --version
39 Show version of program and exit.
40
42 This manual page Copyright 2002, Rusty Russell, IBM Corporation.
43
45 modprobe(8), insmod(8), lsmod(8)
46
47
48
49 2002-12-27 RMMOD(8)