
Viewing System Configuration with ioscan
HP-UX version 11.00.01 Getting Started 1-11
Understanding Class and Instance
The sample ioscan output in Figure 1-4 shows the ext_bus class of a sample
Continuum system. The card instance numbers are listed under I.
For device file naming and hardware mapping, the only significant instance
numbers are those associated with the INTERFACE hardware type.
Figure 1-4. Class and Instance in ioscan Display
The card instance number is assigned by the HP-UX operating system to the
interface card and reflects the order that ioconfig binds that class of interface
card to its driver when it boots.
Instance is stored in two files: /etc/ioconfig and /stand/ioconfig. These
files retain their information across reboots, unless one is corrupted or missing, in
which case ioinit will rebuild the entire /dev structure. (If this occurs, you
would have to re-create any customized permissions or files.)
If you use the addhardware command to add a new hardware device, the
ioconfig files are automatically updated by the command.
# ioscan -C ext_bus -f
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
ext_bus 16 0/4/0/1 bsha CLAIMED INTERFACE HSC SCSI Adapter
ext_bus 17 0/4/0/2 bsha CLAIMED INTERFACE HSC SCSI Adapter
ext_bus 18 0/4/0/3 bsha CLAIMED INTERFACE HSC SCSI Adapter
ext_bus 19 0/4/0/4 bsha CLAIMED INTERFACE HSC SCSI Adapter
ext_bus 0 14/0/0 lsm CLAIMED INTERFACE LSM Adapter
ext_bus 1 14/0/1 lsm CLAIMED INTERFACE LSM Adapter
ext_bus 2 14/0/2 lsm CLAIMED INTERFACE LSM Adapter
ext_bus 3 14/0/3 lsm CLAIMED INTERFACE LSM Adapter
Comentarios a estos manuales