TAPECNTL(1) User Commands TAPECNTL(1)

tapecntl - tape control for tape devices

tapecntl [-etrwaluv] [-c arg] [-p arg] [-d density_in_decimal] [-f arg] [device]

The tapecntl command performs certain control operations on tape devices. If neither a device argument is present nor the TAPE environment variable is set, the device /dev/rmt/c0s0n is used.

The following options are accepted:

Erase the entire tape.
Retension the tape, i.e. rewind the tape, wind the tape to end of reel and rewind it.
Reset the tape device.
Rewind the tape.
Position the tape at the data after the named file mark. The position argument is interpreted relative to the current tape position.

The following options are extensions:

Position the tape at end of data.
Load the tape.
Unload the tape.
Set the SCSI tape density. Some density codes are: 0 = default (autodetect); 4 = QIC-11; 5 = QIC-24; 15 = QIC-120; 16 = QIC-150; 17 = QIC-320; 20 = EXB-8200; 21 = EXB-8500; 21 = QIC-1000; 34 = QIC-2GB; 140 = EXB-8500c; 144 = EXB-8200c.
Enable compression (if arg is different from 0) or disable it (if arg equals 0).
Set the tape block size to arg bytes.
Set variable tape block size.

Used as tape device if no device argument is given on the command line.
12/9/04 Heirloom Toolchest