Configuring HP-UX For Peripherals

276 AppendixC
Major and Minor Numbers
Minor Number Bit Assignments
Minor Number Bit Assignments
The tables on the following pages show the bit assignments for bits 16
through 31 for the principal HP device drivers. In all cases, bits 8
through 15 (that is NN in hexadecimal 0xNN0000) encode the card
instance of the interface card through which the device communicates.
Table C-4 Bit Assignments for Tape Devices
bits 16-19 20-23 24-27 28-31
stape
tape2
SCSI target SCSI LUN 24 - BSD behavior at close
25 - No rewind
26 - Configuration method
a
27-31 - Index/Density
b
a. If 1, bits 27-31 mean Index. If 0, bits 27-31 mean Density.
b. Index and Density are generated as needed by mksf (1M). Density is
encoded as a field in the minor number, using a constant of the form
DEN_M_*, as defined in /usr/include/sys/mtio.h. Index refers
to an index into the property table used to specify extended
configuration options (using the mt_property_type data structure
defined in /usr/include/sys/mtio.h.) For further discussion, see
mt (7) in the HP-UX Reference.