Next | Prev | Up | Top | Contents | Index
Syntax of Command Monitor File Names
When you specify file names for Command Monitor commands, use this syntax:
device([cntrlr,[unit[,partition]]])file
- device specifies a device driver name known to the PROM.
- cntrlr specifies a controller number for devices that may have multiple controllers.
- unit specifies a unit number on the specified controller.
- partition specifies a partition number within a unit.
- file specifies a pathname for the file to be accessed.
If you do not specify cntrlr, unit, and partition, they default to zero. The notation shows that you can specify only a cntrlr, a cntrlr and unit, or all three variables. The commas are significant as place markers. For example, the root partition (partition 0) on a single SCSI disk system is shown as:
dksc(0,1,0)
where:
- dksc indicates the SCSI driver
- The first 0 indicates SCSI controller 0
- The 1 indicates drive number 1 on SCSI controller 0
- The final 0 indicates partition 0 (root partition) on drive 1 on SCSI controller 0.
The /usr partition (partition 3) on the same disk would be written as:
dksc(0,1,3)
The Command Monitor defines the devices shown in Table 4-3.
Device Names for Command Monitor Commands
Device Name | Description |
---|
dkip | the ESDI disk controller (ips in IRIX) |
dksc | the SCSI disk controller (dks in IRIX) |
tpsc | the SCSI tape controller (tps in IRIX) |
xyl | the SMD disk controller (xyl in IRIX) |
ipi | the IPI disk controller (ipi in IRIX) |
tty | CPU board duart |
tty(0) | the local console |
tty(1) | the remote console |
gfx | the graphics console |
console | the ''pseudo console'' which may be one of gfx(0), tty(0), or tty(1). |
bootp | Ethernet controller using bootp and TFTP protocols |
tpqic | the quarter-inch QIC02 tape drive |
The PROM device notation is different from IRIX device notation. Certain environment variables (such as root and swap) are passed to higher level programs, and often require IRIX notation for the /dev device name. For example, in PROM notation, an ESDI disk partition most commonly used for swap is written:
dkip(0,0,1)
In IRIX notation, the same disk is:
ips0d0s1
Syntax of ARCS PROM File Names
Systems that use the ARCS prom (including Indy, Indigo2, Indigo R4K, CHALLENGE, Onyx, and others) use a slightly different syntax for specifying pathnames and disk partitions.
ARCS pathnames use the same syntax as the hardware inventory. The pathnames are written as a series of "type(unit)" components that parallel the hardware inventory format.
Old style pathnames are automatically converted to new style pathnames, so the old names can still be used. The PROM will match the first device described by the pathname, so full pathnames are not always required. Some examples of common pathnames are shown in Table 10-4.
ARCS File Names
ARCS Naming Convention | Pathname or Device |
---|
scsi(0)disk(1)partition(1) | dksc(0,1,1) |
disk(1)part(1) | dksc(0,1,1) |
scsi(0)cdrom(5)partition(7) | dksc(0,5,7) |
network(0)bootp()host:file | bootp()host:file |
serial(0) | first serial port |
keyboard() | graphics keyboard |
video() | graphics display |
Next | Prev | Up | Top | Contents | Index