Manual Page Search Parameters

OFWDUMP(8) System Manager's Manual OFWDUMP(8)

ofwdumpexamine the Open Firmware device tree

ofwdump -a [-p | -P property] [-R | -S]

ofwdump [-p | -P property] [-r] [-R | -S] [--] nodes

The ofwdump utility is used to examine the Open Firmware device tree. In the first synopsis form, the complete device tree is printed; in the second form, only the selected nodes will be examined.

The following options are available:

Print the complete device tree.
Print all available properties.
property
Only print properties of the given name.
Print properties in “raw” format, i.e., omit all headings and indentation and just write the property values unaltered to the standard output. This is intended to be used with the -P option to extract the value of a single property.
Print properties as strings; this is analogous to the -R option, except that each property is only output to the first NUL character, and that newline is appended to each.
Recursively print all children of the specified nodes.

Print the complete device tree:

ofwdump -a

Print the complete device subtree of the “/pci” node, including all available properties:

ofwdump -pr /pci

Print the “compatible” property of the “/pci” node as plain string:

ofwdump -P compatible -S /pci

openfirm(4)

The ofwdump utility first appeared in FreeBSD 5.0.

The ofwdump utility was written by Thomas Moestl <tmm@FreeBSD.org>.

October 23, 2023 dev