Go to main content

Oracle® OpenBoot 4.x Administration Guide

Exit Print View

Updated: June 2020

Commands for Browsing the Device Tree

You can browse the device tree to examine individual device tree nodes. The device tree browsing commands are similar to the Oracle Solaris commands for changing, displaying, and listing the current directory in the Oracle Solaris directory tree. Selecting a device node makes it the current node.

For example:

Displays the names and values of properties of the active package.
dev device-path
Makes the specified device node the active package. Parses device-specifier delimited by end-of-line. Performs the equivalent of find-device with device-specifier as its argument.
dev node-name
Searches for a node with the given name in the subtree below the current node, and choose the first such node found.
dev ..
Chooses the device node that is the parent of the current node.
dev /
Chooses the root machine node.
Unselects the active package, leaving none selected.
Makes the device node dev-string the active package.
Displays the names of the active package’s children.
Opens device (and parents) named by given device specifier.
Leaves instance handle (ihandle) on stack if device is opened.
Closes device and all of its parents.
Displays the device path that names the active package.
Decompiles the FORTH command old-name.
show-devs device-path
Shows all devices beneath the indicated node.
Skips leading space delimiters. Parses device-specifier delimited by a space. Discards the remainder of the command line. Shows the full device path for each device in the subtree of the device tree underneath the specified node.
The search process by which the specified node is located is as defined in 4.3, using the rules given for find-device. If device-specifier is the empty string (that is, there is nothing on the command line following show-devs), shows all system devices.
show-props device-path
Displays the names and values of properties of the device-specifier.
Opens the device (and parents) named by given device specifier.
Sets my-self to instance handle (ihandle) of the device.
Returns nothing on stack.
Closes device and all of its parents, and undoes select-dev.
Displays the names of methods or commands.
If there is an active package, displays the names of its methods. Otherwise, displays an implementation-dependent subset (preferably the entire set) of the globally visible FORTH commands. In either case, the order of display is to display more recently defined names before less recently defined names.

Related Information