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