modunload(8) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

modunload(8)

System Administration Commands                                    modunload(8)



NAME
       modunload - unload a module

SYNOPSIS
       modunload -i module [-e exec_file]

DESCRIPTION
       modunload unloads a loadable module from the running system. The module
       is either the module 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.

OPTIONS
       The following options are supported:

       -i module       Specify the module to be unloaded. If  'module'  starts
                       with a digit then it is interpreted as a decimal module
                       Id, otherwise it is interpreted as a module name.


       -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).
                       There are two additional arguments that are module spe‐
                       cific. For loadable drivers, the second argument is the
                       driver  major  number.  For  loadable system calls, the
                       second argument is the system call number. For loadable
                       exec classes, the second argument is the index into the
                       execsw table.  For  loadable  filesystems,  the  second
                       argument  is  the index into the vfssw table. For load‐
                       able 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.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/core-os


SEE ALSO
       attributes(7), modinfo(8), modload(8), update_drv(8)

NOTES
       The modunload command is often used on driver modules to force the sys‐
       tem 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.



Oracle Solaris 11.4               19 Nov 2001                     modunload(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3