Amiga Unix — 68040 · 68060

Manual pages › BSD versions of commands (1B)

mt(1B)

magnetic tape control

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

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 available 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.