1AMMT(8) AMMT(8)
2
3
4
6 ammt - Amanda version of mt
7
9 ammt [-d] [-f | -t | device] command [count]
10
12 Ammt provides just enough of the standard UNIX mt command for the needs
13 of Amanda. This is handy when doing a full restore and the standard mt
14 program has not yet been found.
15
16 Ammt also provides access to the Amanda output drivers that support
17 various tape simulations.
18
19 See the amanda(8) man page for more details about Amanda. See the
20 OUTPUT DRIVERS section of amanda(8) for more information on the Amanda
21 output drivers.
22
24 -d
25 Turn on debugging output.
26
27 -f device
28 Access tape device device. If not specified, the TAPE environment
29 variable is used.
30
31 -t device
32 Same as -f.
33
34 command count
35 Which command to issue, and an optional count of operations.
36
38 Each command may be abbreviated to whatever length makes it unique.
39
40 eof|weof count
41 Write count (default: 1) end of file marks (tapemarks).
42
43 fsf count
44 Skip forward count (default: 1) files.
45
46 bsf count
47 Skip backward count (default: 1) files.
48
49 asf count
50 Position to file number count (default: 0) where zero is beginning
51 of tape. This is the same as a rewind followed by a fsf count.
52
53 rewind
54 Rewind to beginning of tape.
55
56 offline|rewoffl
57 Rewind to beginning of tape and unload the tape from the drive.
58
59 status
60 Report status information about the drive. Which data reported, and
61 what it means, depends on the underlying operating system, and may
62 include:
63
64 ONLINE
65 Indicates the drive is online and ready.
66
67 OFFLINE
68 Indicates the drive is offline or not ready.
69
70 BOT
71 Indicates the drive is at beginning of tape.
72
73 EOT
74 Indicates the drive is at end of tape.
75
76 PROTECTED
77 Indicates the tape is write protected.
78
79 ds
80 Device status.
81
82 er
83 Error register.
84
85 fileno
86 Current tape file number.
87
88 blkno
89 Current tape block number file.
90
91 Note
92 Many systems only report good data when a tape is in the drive and
93 ready.
94
96 Marc Mengel <mengel@fnal.gov>, John R. Jackson <jrj@purdue.edu>:
97 Original text
98
99 Stefan G. Weichinger, <sgw@amanda.org>, maintainer of the
100 Amanda-documentation: XML-conversion
101
103 amanda(8)
104
105
106
107 02/07/2007 AMMT(8)