![Forrest logo](/images/logo.png)
devfsadm:tldr:cb247
devfsadm: output what would be changed but make no modifications.
$ devfsadm -C -v -n
try on your machine
The command "devfsadm -C -v -n" is used to configure and activate devices in a Solaris system. Let's break down the options used in this command:
- "devfsadm": This is the command itself, used to manage devices and device instance cache in Solaris.
- "-C": This option clears the device instance cache, which contains information about connected devices. By using this option, any stale or outdated information in the cache will be discarded, and devices will be rediscovered.
- "-v": This option enables verbose output, providing detailed information about the devices being configured and activated.
- "-n": This option performs a dry run, which means it only simulates the actions that would be taken if the command was executed without the "-n" option. It allows you to preview the changes that will be made without actually applying them.
In summary, "devfsadm -C -v -n" clears the device instance cache, provides verbose output about the devices, and performs a simulation of device configuration and activation without actually applying any changes.
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.