modunload — Unload a Module

Synopsis

/usr/sbin/modunload -i module-id [-e exec-file]

Description

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.

Options

-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. ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.