mt(1) CLIX mt(1)
NAME
mt - Gives commands to a magnetic tape drive
SYNOPSIS
mt [-f tape-name] command [count]
DESCRIPTION
The mt command is used to give commands to a magnetic tape drive. If a
tape name is not specified with the -f flag, the environment variable TAPE
is used. If TAPE does not exist, mt uses the device /dev/rmt/0mn. By
default, mt performs the requested operation once. Operations may be
performed count times by specifying count.
The available commands are listed below.
eof See weof.
weof Write count end-of-file marks at the current position on the
tape.
fsf Forward space count files.
fsr Forward space count records.
bsf Backward space count files.
bsr Backward space count records.
rewind Rewind the tape (count is ignored).
offline See rewoff.
rewoff Rewind the tape and place the tape unit offline (count is
ignored).
fseot Forward space to end of recorded media (count is ignored).
erase Erase the entire tape (count is ignored).
retension Retension the tape (count is ignored).
status Display status information about the tape unit (count is
ignored).
density Set recording density to count.
Values for count (for the density command) are defined as follows:
2/94 - Intergraph Corporation 1
mt(1) CLIX mt(1)
Cartridge Helical Scan Half-inch Reel
QIC Formats EXB Formats Densities (BPI) 4mm DDS formats
___________ ____________ _______________ ______________________
11 8200 800 0 (Default)
24 8205 1600 1 (DDS 1 uncompressed)
120 8500 3200 2 (DDS 1 compressed)
150 8505 6250 3 (DDS 2 uncompressed)
4 (DDS 2 compressed)
EXAMPLES
1. The following command retensions the tape attached to SCSI port 6:
mt -f /dev/rdsk/mt6 retension
2. The following command returns the status of the tape device attached
to SCSI port 5:
mt -f /dev/rdsk/mt5 status
3. To set density of tape device to 8205, key in the following command:
mt -f /dev/rmt/mt6 density 8205
FILES
/dev/rmt/*
/dev/rmt/0mn
NOTES
The erase operation for an Exabyte tape drive can take 2 hours or more to
complete. Once started, the only way to stop the erase operation is to
reboot the system.
EXIT VALUES
The mt command returns a 0 exit value when the command is successful, 1 if
the command is unrecognized, and 2 if the command fails.
RELATED INFORMATION
Commands: mtio(7)
Files: tc(7)
2 Intergraph Corporation - 2/94