Configuring HP-UX For Peripherals
Appendix C 273
Major and Minor Numbers
Understanding the Construction of Device Special Files
class of the interface card when binding it into the system. This number
is displayed (in decimal notation) in the I column of ioscan output.
Bits 16 through 31 encode driver-dependent characteristics, which are
documented in Table C-4, “Bit Assignments for Tape Devices,” Table C-5,
“Bit Assignments for Disk and Magneto-Optical Devices,” Table C-6, “Bit
Assignments for Serial, Network, and Line Printer Devices,” and Table
C-7, “Bit Assignments for Miscellaneous Devices.” You can use these
tables to construct custom minor numbers, when you require a driver to
recognize or use specific or non-standard features of a device.
Table C-1, “Decimal, Binary, and Hexadecimal Equivalents,” may be
useful for translating bit assignments into hexadecimal digits.
Table C-1 Decimal, Binary, and Hexadecimal Equivalents
Decimal Binary Hex
0 0000 0
1 0001 1
2 0010 2
3 0011 3
4 0100 4
5 0101 5
6 0110 6
7 0111 7
8 1000 8
9 1001 9
10 1010 A
11 1011 B
12 1100 C
13 1101 D
14 1110 E
15 1111 F