CDI_BLOCK_LIMITS(8)CDI_BLOCK_LIMITS(8)NAMEcdi_block_limits - query block size limits on a tape device
SYNOPSIScdi_block_limits-f device [ -v ] [ -t { s | t | g | n | m | i } ]
DESCRIPTION
The cdi_block_limits program queries block size limits on a tape
device. The cdi_block_limits program returns the block size limits for
the named SCSI device (with the -f option). Note that a device's block
size limits may be larger than the operating system's limits. This
program specifically returns the device's block size limits.
OPERANDS-f device
Specifies the device to obtain block size information from.
OPTIONS-t Use the -t option to specify the method of tape functions to use
to query block size limits. 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 a com‐
plete list of access methods currently supported by the
cdi_block_limits 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_block_limits-f /dev/rmt/2cbn
Block size limits returned from accessed through /dev/rmt/2cbn
maximum block size allowed is 16776128
minimum block size allowed is 61301
cdi_info.drivestat is:
status = 1, DRIVE_STATUS_NO_ERROR
msg = Drive reports no error - but state is unknown
SEE ALSOlibcdi(8)NetWorker 7.3.2 Aug 23, 06 CDI_BLOCK_LIMITS(8)