Content-type: text/html Man page of CDI_BSR

CDI_BSR

Section: Maintenance Commands (8)
Updated: Dec 11, 01m
Index Return to Main Contents
 

NAME

cdi_bsr - issue a backward space record command to a tape device  

SYNOPSIS

cdi_bsr
-f device -n count [ -v ] [ -t { s | t | g | n | m | i } ]
 

DESCRIPTION

The cdi_bsr program issues a backward space record (bsr) SCSI command to a tape device. The cdi_bsr program also returns the status of the named SCSI device (specified by the -f option).  

OPERANDS

-f
device
Specifies the device to send the bsr SCSI command to.
-n
count
The record count for the bsr SCSI command.
 

OPTIONS

-t
Use the -t option to specify the method of tape functions to use to issue the bsr SCSI command. 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 (1m) manpage for the complete list of access methods currently supported by the cdi_bsr 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_bsr -f /dev/rmt/2cbn -n 2 -v
CDI_GET_VERSION returns 1
CDI_BSR 2 successful.
elapsed time for command was 0 seconds
cdi_info.drivestat is:
status = 0, DRIVE_STATUS_READY
msg = The tape drive is ready for use
 

SEE ALSO

libcdi(1m)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPERANDS
OPTIONS
EXAMPLES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:37:09 GMT, October 02, 2010