HP-UX 11i v3 Mass Storage Device Naming
Where disk_partition_number is the number assigned to the disk partition by the system if the disk is
formatted into several logical partitions.
The following table shows examples of disk device special files created for two disks with instance
numbers 0 and 100 respectively. The disk with the instance number 0 has two partitions.
Raw device special file Block device special file Comments
/dev/rdisk/disk0 /dev/disk/disk0 Represents the whole disk.
/dev/rdisk/disk0_p1 /dev/disk/disk0_p1 First partition of the disk
/dev/rdisk/disk0_p2 /dev/disk/disk0_p2 Second partition of the disk
/dev/rdisk/disk100 /dev/rdisk/disk100 disk device with instance 100
Tape device special file naming convention
Tape devices typically correspond to sequential access devices claimed by the estape driver. The
format of the device special file name is as follow:
• /dev/rtape/tape<instance>_[w]<density>[C][n][b]
Where:
• w: immediate report disabled. A write request waits until the data are written on the medium.
• density: is the density selection.
• C: Data compression mode
• n: no rewind on close
• b: Berkeley style. The tape is not repositioned following a read. By default the AT&T style is
used.
Note: density values for supported tape devices are defined in the header file: <sys/mtio.h>. BEST is
the recommended density. It allows the system to automatically select the best density for the device.
For each tape device the system automatically creates device special files corresponding to the
options shown in the table below.
Options Example for a tape device with
instance number 0
• Best density and AT&T style /dev/rtape/tape0_BEST
• Best density and Berkeley style /dev/rtape/tape0_BESTb
• Best density, AT&T style and no rewind on
close
/dev/rtape/tape0_BESTn
• Best density, no rewind on close, and
Berkeley style
/dev/rtape/tape0_BESTnb
Auto-changer and Library robotic device special file naming convention
Auto-changer and library robotic SCSI devices are claimed by the eschgr driver. Their device special
files have the following format:
• /dev/rchgr/autoch<instance>
5/13