Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

modunload(8) [netbsd man page]

MODUNLOAD(8)						    BSD System Manager's Manual 					      MODUNLOAD(8)

NAME
modunload -- unload a kernel module SYNOPSIS
modunload name ... DESCRIPTION
The modunload utility unloads a loadable kernel module from a running system. name is name of the module to be unloaded, as shown by modstat(8). Builtin modules will not be unloaded from memory, but they will be disabled. They can be re-enabled using modload(8). DIAGNOSTICS
The modunload utility exits with a status of 0 on success and with a nonzero status if an error occurs. SEE ALSO
module(7), modload(8), modstat(8) HISTORY
The modunload command was designed to be similar in functionality to the corresponding command in SunOS 4.1.3. BSD
December 14, 2010 BSD

Check Out this Related Man Page

modunload(1M)                                             System Administration Commands                                             modunload(1M)

NAME
modunload - unload a module SYNOPSIS
modunload -i module_id [-e exec_file] DESCRIPTION
modunload unloads 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 which are unloadable, are unloaded. Modules loaded by modload(1M) are not affected. OPTIONS
The following options are supported: -e exec_file Specify the name of a shell script or executable image file to be executed before the module is unloaded. The first argu- ment passed is the module id (in decimal). There are two additional arguments that are module specific. For loadable driv- ers, the second argument is the driver major number. For loadable system calls, the second argument is the system call num- ber. For loadable exec classes, the second argument is the index into the execsw table. For loadable filesystems, the sec- ond argument is the index into the vfssw table. For loadable streams modules, the second argument is the index into the fmodsw table. For loadable scheduling classes, the second argument is the index into the class array. Minus one is passed for an argument that does not apply. -i module_id Specify the module to be unloaded. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
modinfo(1M), modload(1M), update_drv(1M), attributes(5) NOTES
The modunload command has often been used on driver modules to force the system to reread the associated driver configuration file. While this works in Solaris 9, this behavior might break in future releases. The supported way for rereading driver configuration file is through the update_drv(1M) command. SunOS 5.10 19 Nov 2001 modunload(1M)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

modules under bsd

Hello I know that I can load or unload kernel modules (/sbin/modload or /sbin/modunload) but how can I check what of modules are now loaded to my kernel? I heard that I can do it by /sbin/modstat but I haven't file like this in my system... Please help me. Have a nice day (2 Replies)
Discussion started by: pgas
2 Replies

2. Solaris

Installing patches

I'm attempting to install a Sun patch and keep getting an error: # patchadd /tmp/patches/110722-03 Checking installed patches... One or more patch packages included in 110722-03 are not installed on this system. Patchadd is terminating. # How can I find out what are the "One or... (7 Replies)
Discussion started by: FredSmith
7 Replies

3. Solaris

Adding new tape drives

hi, i am using Solaris 8 on a sparc box and already have 4 tape drives in a backup libaray attached to my unix server. we have recently added 2 new tape drives to the libaray and now want to get unix to see them. have it working in windows. how do i scan for new hardware and add theses new... (5 Replies)
Discussion started by: dshakey
5 Replies

4. UNIX for Dummies Questions & Answers

Need help with modload

Hi Guru's, What actually is modload and modunload .what does this does. I was refering some Veritas cluster document. it says to modload llt and gab. Can anyone explain me what does this actually does. Thanks In Advance. (0 Replies)
Discussion started by: rama krishna
0 Replies