Forrest logo
back to the devfsadm tool

devfsadm:tldr:51135

devfsadm: Scan for new disks.
$ devfsadm -c disk
try on your machine

The command "devfsadm -c disk" is used to reconfigure and refresh the system's device tree for disks in a Solaris operating system.

Explanation:

  • "devfsadm" is a command in Solaris that manages the device file system and device configuration.
  • "-c disk" is an option specified with the devfsadm command to reconfigure disk devices specifically.
  • When executed, the "devfsadm -c disk" command scans for newly added, removed, or changed disks and updates the device tree accordingly.
  • It ensures that the system recognizes and assigns appropriate device files in the device tree to the disks.
  • This command is useful when dealing with hot-plug or dynamically added/removed disks, ensuring that the system configuration remains accurate and up-to-date.

In summary, executing "devfsadm -c disk" command in Solaris helps in updating the device tree and reconfiguring the system for disk devices.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the devfsadm tool