OpenBoot 3.x Command Reference Manual

Commands for Browsing the Device Tree

Table I-2 Commands for Browsing the Device Tree

Command 

Description  

.properties

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

dev device-path

Choose the specified device node, making it the current node. 

dev node-name

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

dev ..

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

dev /

Choose the root machine node. 

device-end

Leave the device tree. 

" device-path" find-device

Choose the specified device node, similar to dev.

ls

Display the names of the current node's children. 

pwd

Display the device path name that names the current node. 

see wordname

Decompile the specified word. 

show-devs [device-path]

Display all the devices known to the system directly beneath a given device in the device hierarchy. show-devs used by itself shows the entire device tree.

words

Display the names of the current node's methods. 

" device-path" select-dev

Select the specified device and make it the active node.