cdi_get_status(8)                                             cdi_get_status(8)

NAME

       cdi_get_status - get status information from a tape device


SYNOPSIS

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


DESCRIPTION

       The  cdi_get_status  program  obtains  status  information  from a tape
       device.  The data returned include tape density and block position.


OPERANDS

       -f     device
            Specifies the device to obtain status information from.


OPTIONS

       -t     Use the -t option to specify the method of tape functions to use
              to query the device for status information.  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) man-
              page for a complete list of access methods  currently  supported
              by the cdi_get_status 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 from cdi_get_status:

	     % cdi_get_status -f /dev/rmt/2cbn

	     CDI_GET_STATUS returns:
	     DRIVE_STATUS_READY
	     current density code = 00
	     position is absolute block number 0


SEE ALSO

       libcdi(8)
NetWorker 8.0.1			 Dec 02, 12		     cdi_get_status(8)