I would appreciate any donations. Wishlist or send e-mail type donations to maekawa AT daemon-systems.org.

Thank you.

OFCTL(8) System Manager's Manual OFCTL(8)
NAMEofctl - display the OpenPROM or OpenFirmware device tree
SYNOPSISofctl [-lp] [-ffile] [-rpropfile] [-wpropfile] [node]
DESCRIPTIONofctl provides an interface for displaying the OpenPROM or OpenFirmware
device tree and node properties. The ofctl program is only installed on
supported platforms.
Without any arguments, ofctl will dump the full tree. When given the
name of a specific node, ofctl will display that node and its child
nodes.
The options are as follows:
-ffile On systems with OpenPROM, use file instead of the
default /dev/openprom. On systems with OpenFirmware,
use file instead of the default /dev/openfirm.
-l Dump a partial tree starting from node.
-p Display each node's properties.
-rpropfile Instead of reading from the openprom or openfirm
device, use the proplib file propfile as input. See
also -w.
-wpropfile Write the device tree to the proplib file propfile.
See also -r.
FILES/dev/openprom The openprom device on systems with OpenPROM.
/dev/openfirm The openfirm device on systems with OpenFirmware.
SEEALSOeeprom(8)
NetBSD 8.0 June 18, 2018 NetBSD 8.0