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.
31 .Nd examine the Open Firmware device tree
35 .Op Fl p | P Ar property
38 .Op Fl p | P Ar property
46 utility is used to examine the Open Firmware device tree.
47 In the first synopsis form, the complete device tree is printed; in the
48 second form, only the selected
52 The following options are available:
53 .Bl -tag -width ".Fl P Ar property"
55 Print the complete device tree.
57 Print all available properties.
59 Only print properties of the given name.
63 format, i.e., omit all headings and indentation and just write the
64 property values unaltered to the standard output.
65 This is intended to be used with the
67 option to extract the value of a single property.
69 Print properties as strings; this is analogous to the
71 option, except that each property is only output to the first
73 character, and that newline is appended to each.
75 Recursively print all children of the specified nodes.
78 Print the complete device tree:
82 Print the complete device subtree of the
84 node, including all available properties:
86 .Dl "ofwdump -pr /pci"
94 .Dl "ofwdump -P compatible -S /pci"
100 utility first appeared in
107 .An Thomas Moestl Aq tmm@FreeBSD.org .