CDI_SET_COMPRESSION(8)CDI_SET_COMPRESSION(8)NAMEcdi_set_compression - set or unset compression on a tape device
SYNOPSIScdi_set_compression-f device [ -v ] [ -c {Yes | y | 1 | No | n | 0} ]
[ -t { s | t | g | n | m | i } ]
DESCRIPTION
The cdi_set_compression program sets or unsets compression on a tape
device. This program is functional only on NT. On all other OS plat‐
forms, the program does nothing but returns SUCCESS.
OPERANDS-f device
Specifies the device to perform the SCSI command operation. The
-f option is a required option.
OPTIONS-c [Yes | y | 1 | No | n | 0]
Specify whether to set or unset compression on the tape device.
Use Yes , y , or 1 to set compression on the tape device. Use No
, n , or 0 to unset compression on the tape device. The default
is to unset compression on a tape device.
-t Use the -t option to specify the method of tape functions to use
to set/unset device compression. 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 the complete list of access methods currently supported by
the cdi_set_compression 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 the cdi_set_compression program:
% cdi_set_compression-f /dev/rmt/2cbn -c 1
CDI_SET_COMPRESSION 0 successful.
% cdi_set_compression-f /dev/rmt/0cbn -c No
CDI_SET_COMPRESSION 0 successful.
SEE ALSOlibcdi(8)NetWorker 7.3.2 Aug 23, 06 CDI_SET_COMPRESSION(8)