MODUNLOAD(8) NetBSD System Manager's Manual MODUNLOAD(8)
NAME
modunload - unload a kernel module
SYNOPSIS
modunload [-i id] [-n name] modunload [id|name]
DESCRIPTION
The modunload utility unloads a loadable kernel module from a running system. The id or name is the ID or name of the module as shown by modstat(8). One of the following options may be specified: -i id Unload the module with the ID id. -n name Unload the module with the name name. If the option is not specified, the provided argument is used as module ID if it's numeric. If the argument is not numeric, it's used as module name.
DIAGNOSTICS
The modunload utility exits with a status of 0 on success and with a nonzero status if an error occurs.
SEE ALSO
lkm(4), modload(8), modstat(8)
HISTORY
The modunload command was designed to be similar in functionality to the corresponding command in SunOS 4.1.3.
AUTHORS
Terrence R. Lambert <terry@cs.weber.edu>. NetBSD 2.0 September 6, 2003 NetBSD 2.0
Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.