
devtree - Print information about the device tree in Solaris

devtree
-p | --print
-v | --all
-w= [--attr[=attr1,...]]
-o= [--prop[=prop1,...]]
-r= [--promprop[=pprop1,...]]
-m= [--minor]
-a [<alias>] | --aliases[=<alias>]
-d | --disks
-t | --tapes
-n | --networks
-b | --bootinfo


Print the devicetree. Several suboptions are allowed:
Print all information available for each node in the device tree. If only specific information is needed you can use the following options:
Prints all attributes for the device node. If attribute names are specified only those attributes are printed. The following attributes are defined:
nodename bindingname busaddr compatible drivername driverops instance nodeid state
Prints all properties for the device node. If property names are specified only those properties are printed. The names of the properties vary from node to node.
Prints all PROM properties for the device node. If property names are specified only those properties are printed. The names of the PROM properties vary from node to node.
Prints the minor nodes associated with the device node.
Print OpenBoot device aliases. Aliases entered in the nvramrc with nvramrc?=false are not printed as they are not known to the OBP. For script usage it is possible to specify the value of a single alias whose value is output unformatted.
Print information related to booting from the OpenBoot-Prom. This includes the device last booted from and the boot- and diag-devices.
Prints all disks in the system.
Prints all network adapters, regardless if they are plumbed or not.

devtree -pv

Dagobert Michelsen, <dam@baltic-online.de>
