Go to main content

Oracle® OpenBoot 4.x Administration Guide

Exit Print View

Updated: June 2020
 
 

Device Path Names, Addresses, and Arguments

OpenBoot deals directly with hardware devices in the virtual machine. Each device has a unique name representing the type of device and where that device is located in the addressing structure. The textual representation of a such a path is called a device path. Device paths are composed as follows:

/node-name0/node-name1/ ... /node-nameN

This example shows a full device path name:

/pci@301/pci@2/scsi@0/disk@w5000cca123456789,0:a

A full device path name is a series of node names separated by slashes (/). The root of the tree is the machine node, which is not named explicitly but is indicated by a leading slash (/). Each node name has the form:

device-name@unit-address:device-arguments

When OpenBoot is searching for a particular node, and either the device name or @unit-address portion of the node name is not given, OpenBoot arbitrarily chooses a node matching the portion that is present.

The OpenBoot CLI uses pathnames to identify particular device nodes.

Name
Description
device-name
A human-readable string consisting of one to 31 letters, digits and punctuation characters from the set ", . _ + -" that, ideally, has some mnemonic value. Uppercase and lowercase characters are distinct. In some cases, this name includes the name of the device's manufacturer and the device's model name, separated by a comma. Typically, the manufacturer's upper-case, publicly-listed stock symbol is used as the manufacturer's name (for example, SUNW,sd). For built-in devices, the manufacturer's name is usually omitted.
@
Must precede the address parameter.
unit-address
A text string representing the physical address of the device in its parent's address space. The format of the text is bus dependent.
:
Must precede the arguments parameter.
device-arguments
A text string whose format depends on the particular device. It can be used to pass additional information to the device's software.

The full device path name mimics the hardware addressing used by the virtual machine to distinguish between different devices. Thus, you can specify a particular device without ambiguity.

In general, the unit-address part of a node name represents an address in the physical address space of its parent. The exact meaning of a particular address depends on the bus to which the device is attached. Consider this example:

/pci@301/pci@2/scsi@0/disk@w5000cca123456789,0:a

Where:

  • / – Is the root of the tree.

  • pci@301 – Is the PCIe bus with a unit address of 301.

  • pci@2 – Is the PCIe controller with a PCI device ID of 2.

  • scsi@0 – Is the SCSI controller with a PCI device ID of 0.

  • disk@w5000cca123456789,0:a – Is the SCSI drive LUN with a unit address of 5000cca0566d3b21 (WWN of the drive in this example) , and a device argument of a (disk slice in this example).

When specifying a path name, either the @unit-address or device-name part of a node name is optional, in which case the firmware tries to pick the device that best matches the given name. If there are several matching nodes, the firmware chooses one (but it may not be the one you want).

Related Information