DEVFSADM(8) | Maintenance Commands and Procedures | DEVFSADM(8) |
devfsadm, devfsadmd - administration command for /dev
/usr/sbin/devfsadm [-C] [-c device_class] [-i driver_name]
[ -n] [-r root_dir] [-s] [-t table_file] [-v]
/usr/lib/devfsadm/devfsadmd
devfsadm(8) maintains the /dev namespace. It replaces the previous suite of devfs administration tools including drvconfig(8), disks(8), tapes(8), ports(8), audlinks(8), and devlinks(8).
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(8) is the daemon version of devfsadm(8). 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.
For compatibility purposes, drvconfig(8), disks(8), tapes(8), ports(8), audlinks(8), and devlinks(8) are implemented as links to devfsadm.
In addition to managing /dev, devfsadm also maintains the path_to_inst(5) database.
The following options are supported:
-C
-c device_class
-i driver_name
-n
-s
-t table_file
-r root_dir
-v
The following exit values are returned:
0
1
/devices
/dev
/usr/lib/devfsadm/devfsadmd
/dev/.devfsadm_dev.lock
/dev/.devfsadm_daemon.lock
/etc/security/device_policy
/etc/security/extra_privs
svcs(1), devfs(4FS), path_to_inst(5), attributes(7), privileges(7), smf(7), add_drv(8), modinfo(8), modload(8), modunload(8), rem_drv(8), svcadm(8), tapes(8)
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.
devfsadm no longer manages the /devices name space. See devfs(4FS).
The device configuration service is managed by the service management facility, smf(7), under the service identifier, and can be used to start devfsadm during reconfiguration boot by:
svc:/system/device/local:default
Otherwise, devfsadm is started by:
svc:/system/sysevent:default
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(8). The service's status can be queried using the svcs(1) command.
June 23, 2008 | OmniOS |