MT(1)
NAME
mt − magnetic tape manipulating program
SYNOPSIS
mt [ −t tapename ] command [ count ]
HP-UX COMPATABILITY
Level: HP-UX/STANDARD
Origin: UCB
DESCRIPTION
Mt is used to give commands to the tape drive. If tapename is not specified, /dev/mt/0mn is used. If count is not specified, 1 is assumed.
Here are the commands:
eofwrite count end-of-file marks
fsfspace forward count files
fsrspace forward count records
bsfspace backward count files
bsrspace backward count records
rewrewind tape
offlrewind tape and go offline.
EXAMPLE
The following command will rewind the default mag tape unit and take it off line:
mt offl
FILES
/dev/mt/∗Magnetic tape interface
/dev/rmt/∗Raw magnetic tape interface
/dev/rmt/0mn (or whatever drive is used) must be described as a Berkeley-compatibility mode tape drive (without rewind) for mt to operate as expected.
SEE ALSO
Hewlett-Packard — last mod. May 11, 2021