1 .\" Copyright (c) 2002 by Thomas Moestl <tmm@FreeBSD.org>.
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16 .\" IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
17 .\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
19 .\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
20 .\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
21 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
22 .\" USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 .Nd examine the Open Firmware device tree
33 .Op Fl p | P Ar property
36 .Op Fl p | P Ar property
44 utility is used to examine the Open Firmware device tree.
45 In the first synopsis form, the complete device tree is printed; in the
46 second form, only the selected
50 The following options are available:
51 .Bl -tag -width ".Fl P Ar property"
53 Print the complete device tree.
55 Print all available properties.
57 Only print properties of the given name.
61 format, i.e., omit all headings and indentation and just write the
62 property values unaltered to the standard output.
63 This is intended to be used with the
65 option to extract the value of a single property.
67 Print properties as strings; this is analogous to the
69 option, except that each property is only output to the first
71 character, and that newline is appended to each.
73 Recursively print all children of the specified nodes.
76 Print the complete device tree:
80 Print the complete device subtree of the
82 node, including all available properties:
84 .Dl "ofwdump -pr /pci"
92 .Dl "ofwdump -P compatible -S /pci"
98 utility first appeared in
105 .An Thomas Moestl Aq Mt tmm@FreeBSD.org .