Content-type: text/html
Man page of CDI_TAPESIZE
CDI_TAPESIZE
Section: Maintenance Commands (8)
Updated: Dec 11, 01m
Index
Return to Main Contents
NAME
cdi_tapesize
- report tape capacity on a tape device
SYNOPSIS
- cdi_tapesize
-
-f
device
[
-v
] [
-t
{ s | t | g | n | m | i }
]
DESCRIPTION
The
cdi_tapesize
program reports tape capacity on a tape device.
The
cdi_tapesize
program also returns the status of the named SCSI device (specified by the
-f
option). Note that not all tape devices have the capability to report
tape capacity. Please refer to the specific device manuals to confirm
whether tape capacity reporting is available for the device.
OPERANDS
- -f
-
device
-
Specifies the device to obtain tape capacity information from.
OPTIONS
- -t
-
Use the
-t
option to specify the method of tape functions to use to
to obtain tape capacity 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 (1m)
manpage for the complete list of access methods currently
supported by the
cdi_tapesize
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_tapesize -f /dev/rmt/2cbn
cdi_cmd failed - cdi_info.status = CDI_UNSUPPORTED_CMD (5)
errormsg = command is not supported by the selected target
cdi_info.drivestat is:
status = 1, DRIVE_STATUS_NO_ERROR
msg = Drive reports no error - but state is unknown
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:10 GMT, October 02, 2010