devfsadm: Solaris Administration Command for /dev

devfsadm maintains the /dev namespace. The default operation is to attempt to load every driver in the  system and attach to all possible device instances. Next, devfsadm creates logical links to device nodes in /dev and /devices and loads the device policy. devfsadmd is the daemon version of devfsadm.  The daemon  is  started during system startup and is responsible for handling both reconfiguration boot processing and updating /dev and /devices in response to dynamic reconfiguration event notifications from the kernel. In addition to managing /dev, devfsadm also maintains  the path_to_inst database.

The following options are supported:

-C : Cleanup mode.
Prompt devfsadm to cleanup dangling /dev links that are not  normally removed.  If the -c option  is  also used, devfsadm only cleans up for  the  listed  devices classes.

-c : device_class.
Restrict operations  to devices  of class  device_class. Solaris defines the following values for device_class:   disk, tape, port, audio, and pseudo.

# devfsadm -C
# devfsadm -c

You May Also Like

1 Comment

Leave a Reply?