System Administration Guide: Security Services

Device Policy Commands

Device management commands administer the device policy on local files. Device policy can include privilege requirements. Only superuser or a role of equivalent capabilities can manage devices.

The following table lists the device management commands.

Table 4–1 Device Management Commands

Command 

Purpose 

Man Page 

devfsadm

Administers devices and device drivers on a running system. Also loads device policy. 

The devfsadm command enables the cleanup of dangling /dev links to disk, tape, port, audio, and pseudo devices. Devices for a named driver can also be reconfigured.

devfsadm(1M)

getdevpolicy

Displays the policy associated with one or more devices. This command can be run by any user. 

getdevpolicy(1M)

add_drv

Adds a new device driver to a running system. Contains options to add device policy to the new device. Typically, this command is called in a script when a device driver is being installed. 

add_drv(1M)

update_drv

Updates the attributes of an existing device driver. Contains options to update the device policy for the device. Typically, this command is called in a script when a device driver is being installed. 

update_drv(1M)

rem_drv

Removes a device or device driver. 

rem_drv(1M)