September 2000
Beginner
1312 pages
33h 47m
English
/usr/sbin/modunload -i module-id [-e exec-file]
Use the modunload command to unload a loadable module from the running system. The module-id is the ID of the module as shown by modinfo(1M). If ID is 0, all modules that were autoloaded and that are unloadable are unloaded. Modules loaded by modload(1M) are not affected.
| -i module-id | Specify the module to be unloaded. |
| -e exec-file | Specify the name of a shell script or executable image file to be executed before the module is unloaded. The first argument passed is the module ID (in decimal). Two additional arguments are module specific. For loadable drivers, the second and third arguments are the block major and character major numbers. ... |