NetWorker command:      NetWorker command:      cdi_eod

NAME

       cdi_eod - send an end of data SCSI command to a tape device


SYNOPSIS

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


DESCRIPTION

       The  cdi_eod  program sends an end of data (eod) SCSI command to a tape
       device.  The cdi_eod program also returns the status of the named  SCSI
       device (with the -f option).


OPERANDS

       -f     device
            Specifies  the  device  to  issue the eod SCSI command to.  The -f
            option is a required option.


OPTIONS

       -t     Use the -t option to specify the method of tape functions to use
              to  issue  the eod SCSI command.  If the -t option is not speci-
              fied, the default method is to  use  the  OS  tape  driver  SCSI
              passthrough  functions.   Please refer to the libcdi (8) manpage
              for a complete list of access methods currently supported by the
              cdi_eod 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_eod -f /dev/rmt/2cbn

      CDI_EOD 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(8)

NetWorker 7.5.1			 Mar 21, 09