Configuring HP-UX For Peripherals

Appendix C 269
Major and Minor Numbers
C Major and Minor Numbers
This appendix addresses special situations in which HP-UX does not
configure a driver automatically or create the required device special
files. For example, you might need to configure a custom driver for
black-box or instrumentation applications.
If the proper code is present in the driver, insf can create device special
files automatically and HP-UX can recognize the device, but you might
still have to create a customized device special file for the instrument to
work properly.
To configure HP-UX for non-standard device drivers or devices, you may
need to:
1. Configure the custom driver into the kernel.
2. Create device special files for the device using either mksf or mknod
commands.
Tables in this Appendix provide you with the information to construct a
minor number for any HP device driver. You should also consult the
manpages in Section 7 of the HP-UX Reference for the type of device
driver you are configuring. For non-HP drivers, consult the
documentation provided with the device.