Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
System Administration Commandsrem_drv(1M)


NAME

 rem_drv - remove a device driver from the system

SYNOPSIS

 rem_drv [-b basedir] device_driver

DESCRIPTION

 

The rem_drv command informs the system that the device driver device_driver is no longer valid. If possible, rem_drv unloads device_driver from memory. Entries for the device in the /devices namespace are removed. rem_drv also updates the system driver configuration files.

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


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.

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

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

 

add_drv(1M), drvconfig(1M), kernel(1M), attributes(5)



SunOS 5.9Go To TopLast Changed 18 Sep 1994


Updated: 2004-01-16, 16:43