devfsadm(1M) maintains the /dev and /devices namespaces. It replaces the previous suite of devfs administration tools including drvconfig(1M), disks(1M), tapes(1M), ports(1M), audlinks(1M), and devlinks(1M).
The default operation is to attempt to load every driver in the system and attach to all possible device instances. devfsadm then creates device special files in /devices and logical links in /dev.
devfsadmd(1M) is the daemon version of devfsadm(1M). The daemon is started by the /etc/rc* scripts 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.
For compatibility purposes, drvconfig(1M), disks(1M), tapes(1M), ports(1M), audlinks(1M), and devlinks(1M) are implemented as links to devfsadm.
In addition to managing /dev and /devices, devfsadm also maintains the path_to_inst(4) database.
The following options are supported:
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.
Restrict operations to devices of class device_class. Solaris defines the following values for device_class: disk, tape, port, audio, and pseudo. This option may be specified more than once to specify multiple device classes.
Configure only the devices for the named driver, driver_name.
Do not attempt to load drivers or add new nodes to the kernel device tree.
Suppress any changes to /dev or /devices. This is useful with the -v option for debugging.
Read an alternate devlink.tab file. devfsadm normally reads /etc/devlink.tab.
Presume that the /dev and /devices directory trees are found under root_dir, not directly under root (/). No other use or assumptions are made about root_dir.
Print changes to /dev and /devices in verbose mode.
device nodes directory
logical symbolic links to /devices
daemon start/stop script
link to init.d script
link to init.d script
update lock file
daemon lock file
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|
This document does not constitute an API. The /devices directory might not exist or might have different contents or interpretations in a future release. The existence of this notice does not imply that any other documentation that lacks this notice constitutes an API.