Configuring HP-UX For Peripherals

Chapter 7 189
Configuring Tape Drives
Configuring HP-UX for a Tape Drive
/usr/sbin/ioscan -C tape -fun
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
tape 0 2/0/1.3.0 stape CLAIMED DEVICE HP35480A
/dev/rmt/0m /dev/rmt/c0t3d0BESTn
/dev/rmt/0mb /dev/rmt/c0t3d0BEST
/dev/rmt/0mn /dev/rmt/c0t3d0BESTb
/dev/rmt/0mnb /dev/rmt/c0t3d0BESTnb
Step 9. You can also use the tar command to verify that you can read and write
to and from the device. In the following example, the first tar command
writes the /etc/passwd file to tape using a device special file shown in
the ioscan output. The second tar command displays the contents of the
tape.
/usr/bin/tar cvf /dev/rmt/c0t3d0BEST /etc/passwd
a /etc/passwd 2 blocks
/usr/bin/tar tvf /dev/rmt/c0t3d0BEST
rrr 2/2 601 June 6 16:40 1994 /etc/passwd