Content-type: text/html Man page of CDI_SET_COMPRESSION

CDI_SET_COMPRESSION

Section: Maintenance Commands (8)
Updated: Dec 11, 01m
Index Return to Main Contents
 

NAME

cdi_set_compression - set or unset compression on a tape device  

SYNOPSIS

cdi_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 platforms, 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 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_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 ALSO

libcdi(1m)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPERANDS
OPTIONS
EXAMPLES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:36:50 GMT, October 02, 2010