OpenBoot 2.x Quick Reference

Device Tree Browsing Commands

Table 1-4 Device Tree Browsing Commands

.attributes

Display the names and values of the current node's properties. 

cd device-path

Select the indicated device node, making it the current node. 

cd node-name

Search for a node with the given name in the subtree below the current node, and select the first such node found. 

cd ..

Select the device node that is the parent of the current node. 

cd /

Select the root machine node. 

device-end

De-select the current device node, leaving no node selected. 

ls

Display the names of the current node's children. 

pwd

Display the device path name that names the current node. 

show-devs [device-path]

Display all the devices known to the system directly beneath a given level in the device hierarchy. (Used by itself, it shows the entire device tree.)  

words

Display the names of the current node's methods.