Dagobert Michelsen > Solaris-DeviceTree-0.03 > devtree

Download:
Solaris-DeviceTree-0.03.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

devtree - Print information about the device tree in Solaris

SYNOPSIS ^

 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

DESCRIPTION ^

OPTIONS ^

-p, --print

Print the devicetree. Several suboptions are allowed:

-v, --all

Print all information available for each node in the device tree. If only specific information is needed you can use the following options:

-w, --attr[=attr1,...]

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
-o, --prop[=prop1,...]

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.

-r, --promprop[=promprop1,...]

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.

-m, --minor

Prints the minor nodes associated with the device node.

-a, --aliases[=device]

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.

-b, --bootinfo

Print information related to booting from the OpenBoot-Prom. This includes the device last booted from and the boot- and diag-devices.

-d, --disks

Prints all disks in the system.

-n, --network

Prints all network adapters, regardless if they are plumbed or not.

EXAMPLES ^

Print the complete devicetree
  devtree -pv

AUTHOR ^

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

SEE ALSO ^

Solaris::DeviceTree

syntax highlighting: