mt(1) USER COMMANDS mt(1)
NAME
mt - magnetic tape control
SYNOPSIS
/usr/ucb/mt [ -f tapename ] command [ count ]
DESCRIPTION
mt sends commands to a magnetic tape drive. If tapename is
not specified, the environment variable TAPE is used. If
TAPE does not exist, mt uses the device /dev/rmt/4.
tapename must refer to a raw (not block) tape device. By
default, mt performs the requested operation once; multiple
operations may be performed by specifying count. The avail-
able commands are listed below. mt returns a 0 exit status
on success or 1 on failure. the following commands are
available to mt:
fsf Forward space count files.
asf Absolute space to count file number. This is
equivalent to a rewind followed by a fsf count. For the
following commands, count is ignored:
rewind
Rewind the tape.
retension
Wind the tape to the end of the reel and then rewind
it, smoothing out the tape tension.
FILES
/dev/rmt* raw magnetic tape interface
/dev/rar* raw Archive cartridge tape interface
/dev/rst* raw SCSI tape interface
/dev/rmt* raw Xylogicsr tape interface
SEE ALSO
dd(1M), ar(4), environ(5), xt(7) in the System
Administrator's Reference Manual.
NOTES
Not all devices support all options. For example, ar
currently does not support the fsr, bsf, or bsr options.
The half-inch tape driver, /dev/rmt*, does not support the
retension option.
Last change: BSD Compatibility Package 1