ammt — Amanda version of mt
ammt
[-d ] [ -f | -t | device
] command
[count
]
Ammt provides just enough of the standard UNIX mt command for the needs of Amanda. This is handy when doing a full restore and the standard mt program has not yet been found.
Ammt also provides access to the Amanda output drivers that support various tape simulations.
See the amanda(8) man page for more details about Amanda. See the OUTPUT DRIVERS section of amanda(8) for more information on the Amanda output drivers.
-d
Turn on debugging output.
-f
device
Access tape device device. If not specified, the TAPE environment variable is used.
-t
device
Same as
-f
.
Which command to issue, and an optional count of operations.
Each command may be abbreviated to whatever length makes it unique.
Write count (default: 1) end of file marks (tapemarks).
Skip forward count (default: 1) files.
Skip backward count (default: 1) files.
Position to file number count (default: 0) where zero is beginning of tape. This is the same as a rewind followed by a fsf count.
Rewind to beginning of tape.
Rewind to beginning of tape and unload the tape from the drive.
Report status information about the drive. Which data reported, and what it means, depends on the underlying operating system, and may include:
Indicates the drive is online and ready.
Indicates the drive is offline or not ready.
Indicates the drive is at beginning of tape.
Indicates the drive is at end of tape.
Indicates the tape is write protected.
Device status.
Error register.
Current tape file number.
Current tape block number file.
Many systems only report good data when a tape is in the drive and ready.
Marc Mengel <[email protected]>
, John R. Jackson
<[email protected]>
: Original text
Stefan G. Weichinger, <[email protected]>
, maintainer of the
Amanda-documentation: XML-conversion