.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)mt.1 6.2 (Berkeley) %G%
mt \- magnetic tape manipulating program
is used to give commands to a magnetic tape drive.
If a tape name is not specified, the environment variable
TAPE is used; if TAPE does not exist,
must reference a raw (not block) tape device.
performs the requested operation once. Operations
may be performed multiple times by specifying
The available commands are listed below. Only as many
characters as are required to uniquely identify a command
end-of-file marks at the current position on the tape.
Rewind the tape and place the tape unit off-line
Print status information about the tape unit.
returns a 0 exit status when the operation(s) were successful,
1 if the command was unrecognized, and 2 if an operation failed.
/dev/rmt* Raw magnetic tape interface
mtio(4), dd(1), ioctl(2), environ(7)