MODUNLOAD(8) | Maintenance Commands and Procedures | MODUNLOAD(8) |
modunload - unload a module
modunload -i module_id [-e exec_file]
modunload unloads a loadable module from the running system. The module_id is the ID of the module as shown by modinfo(8). If ID is 0, all modules that were autoloaded which are unloadable, are unloaded. Modules loaded by modload(8) are not affected.
The following options are supported:
-e exec_file
-i module_id
The modunload command is often used on driver modules to force the system to reread the associated driver configuration file. While this works in the current Solaris release, it is not the supported way to reread the configuration file and is not guaranteed to work in future releases. The supported way for rereading driver configuration file is through the update_drv(8) command.
November 19, 2001 | OmniOS |