MODUNLOAD(8) System Manager's Manual MODUNLOAD(8)
modunload - unload a module
modunload -id module_id [ -exec exec_file ]
modunload unloads a loadable module from a running system. The mod-
ule_id is the ID of the module as shown by modstat(8).
This is the name of a shell script or executable image file that
will be executed before the module is unloaded. It is always
passed the module ID and module type as the first two arguments.
For loadable drivers, the third and fourth arguments are the
block major and character major numbers respectively. For a
loadable system call, the third argument is the system call num-
20 January 1990 MODUNLOAD(8)