Manual Page Result
0
Command: mt | Section: 1 | Source: Digital UNIX | File: mt.1.gz
mt(1) General Commands Manual mt(1)
NAME
mt - Magnetic tape manipulating program
SYNOPSIS
mt [-f tape_device] command [count]
The mt program gives commands to a magnetic tape drive.
OPTIONS
Specifies the tape device to be manipulated.
DESCRIPTION
If you do not specify a tape name with the -f option, the TAPE environ-
ment variable is used; if TAPE does not exist, mt uses the /dev/nrmt0h
device. Note that tape_device must refer to a raw (not block) tape de-
vice. By default, mt performs the requested operation once. Opera-
tions can be performed more than once by specifying count.
The following commands are available: Writes count End-of-File marks at
the current position on the tape. Forward spaces count files. Forward
spaces count records. Backspaces count files. Backspaces count
records. Rewinds the tape (count is ignored). Rewinds the tape and
places the tape unit offline (count is ignored). Prepares a SCSI tape
for removal from the device. Not all SCSI tape drives support this
functionality. Bring a SCSI tape to the ready state if a tape is in
the tape path. Currently, this command is only supported in the
SCSI/CAM tape driver. Not all SCSI tape drives support this function-
ality. Space to end of recorded data. Currently, this command is only
supported in the SCSI/CAM tape driver. Not all SCSI tape drives support
this functionality. Prints status information about the tape unit.
Only as many characters as are required to uniquely identify a command
need to be specified.
EXIT STATUS
The mt command returns the following exit status: Success. Command was
unrecognized. Operation failed.
FILES
Raw magnetic tape interface with no rewind when closed. Raw magnetic
tape interface with rewind when closed.
SEE ALSO
Commands: dd(1)
Functions: ioctl(2)
mt(1)