|
|
SUNWcsu
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/0. tapename refers to a raw tape device. By default, mt performs the requested operation once; multiple operations may be performed by specifying count.
The available commands are listed below. Only as many characters as are required to uniquely identify a command need be specified.
mt returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized or if mt was unable to open the specified tape drive, and 2 if an operation failed.
For the following commands, count is ignored:
/dev/rmt/*b
/dev/rmt/*bn
/dev/rmt/*c
/dev/rmt/*cb
/dev/rmt/*cbn
/dev/rmt/*cn
/dev/rmt/*h
/dev/rmt/*hb
/dev/rmt/*hbn
/dev/rmt/*hn
/dev/rmt/*l
/dev/rmt/*lb
/dev/rmt/*lbn
/dev/rmt/*ln
/dev/rmt/*m
/dev/rmt/*mb
/dev/rmt/*mbn
/dev/rmt/*mn
/dev/rmt/*n
/dev/rmt/*u
/dev/rmt/*ub
/dev/rmt/*ubn
/dev/rmt/*un
Not all devices support all options. Some options are hardware-dependent. Refer to the corresponding device manual page.
mt is architecture sensitive. Heterogeneous operation (that is, Sun3 to Sun4 or visa versa) is not supported.
|
|
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97