Configuring HP-UX For Peripherals
30 Chapter1
Getting Started
Viewing the System Configuration with ioscan
Identifying Device Special Files Associated with a Peripheral
Device
You can use ioscan -fn (or -fkn or -fun) to show device special file
names associated with a peripheral. You can also add other ioscan
options (such as -H, -C, -d, or -I) to limit your output to specific
elements in your configuration.
The following example, using -C tape, shows the device files available
for tape class, as well as the location and type of tape device. Note too,
the new tape device file naming convention. These are explained in
Chapter 7, “Configuring Tape Drives,” and on the mt (7) manpage.
/usr/sbin/ioscan -fn -C tape
Class I H/W Path Driver S/W State H/W Type Description
============================================================
tape 0 56/52.0.0 tape2 CLAIMED DEVICE WANGTEK 51000 SCSI
/dev/diag/rmt/c0t0d0 /dev/rmt/c0t0d0BESTn
/dev/rmt/c0t0d0BEST /dev/rmt/c0t0d0BESTnb
/dev/rmt/c0t0d0BESTb
Consult the ioscan (1M) manpage for further information about this tool.