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

개요

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

rem_drv(8)

rem_drv(8)              System Administration Commands              rem_drv(8)

NAME
       rem_drv - remove a device driver from the system

SYNOPSIS
       rem_drv [-b basedir] [-C] [-n] device_driver

DESCRIPTION
       The  rem_drv  command  informs  the  system  that the device driver de‐
       vice_driver is no  longer  valid.  If  possible,  rem_drv  unloads  de‐
       vice_driver from memory. rem_drv also updates the system driver config‐
       uration files.


       If  rem_drv  has been executed, the next time the system is rebooted it
       automatically performs a reconfiguration boot (see kernel(8)).

OPTIONS
       The following options are supported:

       -b basedir

           Sets the path to the root directory of the diskless client. Used on
           the server to execute rem_drv for a client. The client machine must
           be rebooted to unload the driver.

           Note -



             The root file system of any non-global zones must not  be  refer‐
             enced with the -b option. Doing so might damage the global zone's
             file  system,  might  compromise the security of the global zone,
             and might damage the non-global zone's file system. See zones(7).



       -C

           Remove dangling device attribute nodes bound to  the  driver  being
           removed. This causes any device ownership or permissions customiza‐
           tions  made  to any node not to be preserved if the driver is added
           back. Recommended for use when reprovisioning a  machine  from  one
           configuration  or  use  to  another  where past administrative cus‐
           tomizations might not be desired.


       -n

           Do not try to detach and unload device_driver, just modify the sys‐
           tem configuration files for that driver.


EXAMPLES
       Example 1 Removing the sd Driver



       The following example removes the sd driver from use:


         example% rem_drv sd


       Example 2 Removing a Diskless Client



       The following example removes the driver from the sun1 diskless client.
       The driver is not uninstalled or unloaded until the client  machine  is
       rebooted.


         example% rem_drv -b /export/root/sun1 sd




       Note  the caveat on the use of the -b option in the description of that
       option, above.

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/device-administration


SEE ALSO
       devfs(4FS),   attributes(7),   zones(7),   add_drv(8),  kernel(8),  up‐
       date_drv(8)

Oracle Solaris 11.4               11 Aug 2014                       rem_drv(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3