CDI_TUR(8)CDI_TUR(8)NAMEcdi_tur - send a test unit ready SCSI command to a tape device
SYNOPSIScdi_tur-f device [ -v ] [ -t { s | t | g | n | m | i } ]
DESCRIPTION
The cdi_tur program sends a test unit ready SCSI command to a tape
device. The cdi_tur program also returns the status of the named SCSI
device (specified by the -f option).
OPERANDS-f device
Specifies the device to send the SCSI command to.
OPTIONS-t Use the -t option to specify the method of tape functions to use
to to perform the operation. If the -t option is not specified,
the default method is to use the OS tape driver SCSI passthrough
functions. Please refer to the libcdi (8) manpage for the com‐
plete list of access methods currently supported by the cdi_tur
program.
-v Run the program in verbose mode. This option will print out the
version number of the CDI library used by the program.
EXAMPLES
Sample output including drive status information:
% cdi_tur-f /dev/rmt/2cbn
CDI_TUR successful.
cdi_info.drivestat is:
status = 0, DRIVE_STATUS_READY
msg = The tape drive is ready for use
SEE ALSOlibcdi(8)NetWorker 7.3.2 Aug 23, 06 CDI_TUR(8)