HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

devfsadm — Administration command for `/dev`. Maintains the `/dev` namespace. More information: <https://www.un

Submitted by: @import:tldr-pages··
0
Viewed 0 times
administrationcommanddevfsadmmaintainsclifordev
linux

Problem

How to use the devfsadm command: Administration command for /dev. Maintains the /dev namespace. More information: <https://www.unix.com/man-page/sunos/1m/devfsadm>.

Solution

devfsadm — Administration command for /dev. Maintains the /dev namespace. More information: <https://www.unix.com/man-page/sunos/1m/devfsadm>.

Scan for new disks:
devfsadm -c disk


Cleanup any dangling /dev links and scan for new device:
devfsadm -C -v


Dry-run - output what would be changed but make no modifications:
devfsadm -C -v -n

Code Snippets

Scan for new disks

devfsadm -c disk

Cleanup any dangling /dev links and scan for new device

devfsadm -C -v

Dry-run - output what would be changed but make no modifications

devfsadm -C -v -n

Context

tldr-pages: sunos/devfsadm

Revisions (0)

No revisions yet.