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 will automatically perform a reconfiguration boot (see kernel(1M)).
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.
The following example removes the sd driver from use:
example% rem_drv sd
The next example removes the driver from the sun1 diskless client. The driver will not be uninstalled nor unloaded until the client machine is rebooted.
example% rem_drv -b /export/root/sun1 sd
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|
To succeed, this command needs the
sys_devices privilege. This command is intended to be invoked at
ADMIN_LOW with effective user ID 0; if invoked by other users, this command