Imported Upstream version 2.6.1
[debian/amanda] / man / amtape.8
index fcf3296bb4cffb64affad105e183bb2c6c0210f6..e0c6ae18dae5c6c97234737828764d3bdb5d64f9 100644 (file)
 .\"     Title: amtape
-.\"    Author: 
-.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\"      Date: 08/22/2008
-.\"    Manual: 
-.\"    Source: 
+.\"    Author: James da Silva <jds@amanda.org>
+.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
+.\"      Date: 01/22/2009
+.\"    Manual: System Administration Commands
+.\"    Source: Amanda 2.6.1
+.\"  Language: English
 .\"
-.TH "AMTAPE" "8" "08/22/2008" "" ""
+.TH "AMTAPE" "8" "01/22/2009" "Amanda 2\&.6\&.1" "System Administration Commands"
+.\" -----------------------------------------------------------------
+.\" * (re)Define some macros
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" toupper - uppercase a string (locale-aware)
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de toupper
+.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
+\\$*
+.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
+..
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" SH-xref - format a cross-reference to an SH section
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de SH-xref
+.ie n \{\
+.\}
+.toupper \\$*
+.el \{\
+\\$*
+.\}
+..
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" SH - level-one heading that works better for non-TTY output
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de1 SH
+.\" put an extra blank line of space above the head in non-TTY output
+.if t \{\
+.sp 1
+.\}
+.sp \\n[PD]u
+.nr an-level 1
+.set-an-margin
+.nr an-prevailing-indent \\n[IN]
+.fi
+.in \\n[an-margin]u
+.ti 0
+.HTML-TAG ".NH \\n[an-level]"
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+\." make the size of the head bigger
+.ps +3
+.ft B
+.ne (2v + 1u)
+.ie n \{\
+.\" if n (TTY output), use uppercase
+.toupper \\$*
+.\}
+.el \{\
+.nr an-break-flag 0
+.\" if not n (not TTY), use normal case (not uppercase)
+\\$1
+.in \\n[an-margin]u
+.ti 0
+.\" if not n (not TTY), put a border/line under subheading
+.sp -.6
+\l'\n(.lu'
+.\}
+..
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" SS - level-two heading that works better for non-TTY output
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de1 SS
+.sp \\n[PD]u
+.nr an-level 1
+.set-an-margin
+.nr an-prevailing-indent \\n[IN]
+.fi
+.in \\n[IN]u
+.ti \\n[SN]u
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.ps \\n[PS-SS]u
+\." make the size of the head bigger
+.ps +2
+.ft B
+.ne (2v + 1u)
+.if \\n[.$] \&\\$*
+..
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" BB/BE - put background/screen (filled box) around block of text
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de BB
+.if t \{\
+.sp -.5
+.br
+.in +2n
+.ll -2n
+.gcolor red
+.di BX
+.\}
+..
+.de EB
+.if t \{\
+.if "\\$2"adjust-for-leading-newline" \{\
+.sp -1
+.\}
+.br
+.di
+.in
+.ll
+.gcolor
+.nr BW \\n(.lu-\\n(.i
+.nr BH \\n(dn+.5v
+.ne \\n(BHu+.5v
+.ie "\\$2"adjust-for-leading-newline" \{\
+\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
+.\}
+.el \{\
+\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
+.\}
+.in 0
+.sp -.5v
+.nf
+.BX
+.in
+.sp .5v
+.fi
+.\}
+..
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" BM/EM - put colored marker in margin next to block of text
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de BM
+.if t \{\
+.br
+.ll -2n
+.gcolor red
+.di BX
+.\}
+..
+.de EM
+.if t \{\
+.br
+.di
+.ll
+.gcolor
+.nr BH \\n(dn
+.ne \\n(BHu
+\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
+.in 0
+.nf
+.BX
+.in
+.fi
+.\}
+..
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
 .\" disable hyphenation
 .nh
 .\" disable justification (adjust text to left margin only)
 .ad l
-.SH "NAME"
-amtape - user interface to Amanda tape changer controls
-.SH "SYNOPSIS"
-.HP 7
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "Name"
+amtape \- user interface to \fIAmanda\fR tape changer controls
+.SH "Synopsis"
+.fam C
+.HP \w'\fBamtape\fR\ 'u
 \fBamtape\fR \fIconfig\fR \fIcommand\fR [\fIcommand_options\fR...] [\fB\-o\ \fR\fIconfigoption\fR]...
+.fam
 .SH "DESCRIPTION"
 .PP
 \fBAmtape\fR
-performs tape changer control operations\. It uses the underlying tape changer script defined by the
+performs tape changer control operations\&. It uses the underlying tape changer script defined by the
 \fBtpchanger\fR
 option for a particular
 \fIAmanda\fR
 configuration as specified by the
 \fIconfig\fR
-argument\.
+argument\&.
 .PP
 Tape changers maintain a notion of the
 \fIcurrent\fR
 and
 \fInext\fR
-slot for each configuration\. These may or may not correspond to an actual physical state of the device, but do tend to minimize searching through the tape storage slots\. If the desired tape is in the current slot, it is likely the next tape needed is in the next slot rather than at some random position in the storage slots\.
+slot for each configuration\&. These may or may not correspond to an actual physical state of the device, but do tend to minimize searching through the tape storage slots\&. If the desired tape is in the current slot, it is likely the next tape needed is in the next slot rather than at some random position in the storage slots\&.
 .PP
 See the
 \fBamanda\fR(8)
 man page for more details about
-\fIAmanda\fR\.
+\fIAmanda\fR\&.
 .SH "COMMANDS"
 .PP
 \fBreset\fR
 .RS 4
-Reset the tape changer to a known state\. The
+Reset the tape changer to a known state\&. The
 \fIcurrent\fR
 slot is set to the
 \fIfirst\fR
-slot\. Other device\-specific side effects may occur\. Some gravity stackers need to be reset to the top position by hand\. This command notifies
+slot\&. Other device\-specific side effects may occur\&. Some gravity stackers need to be reset to the top position by hand\&. This command notifies
 \fIAmanda\fR
-the stacker is back in that position\.
+the stacker is back in that position\&.
 .RE
 .PP
 \fBeject\fR
 .RS 4
-If a tape is loaded in the drive, it is ejected and returned to the slot from which it was loaded\.
+If a tape is loaded in the drive, it is ejected and returned to the slot from which it was loaded\&.
 .RE
 .PP
 \fBclean\fR
 .RS 4
-If a cleaning tape is defined for the changer, it is used to clean the drive\.
+If a cleaning tape is defined for the changer, it is used to clean the drive\&.
 .RE
 .PP
 \fBshow\fR
 .RS 4
-Show the contents of all slots\. This can be slow\.
+Show the contents of all slots\&. This can be slow\&.
 .RE
 .PP
 \fBlabel\fR \fIlabel\fR
@@ -69,30 +227,30 @@ Show the contents of all slots\. This can be slow\.
 Search for and load the
 \fIAmanda\fR
 tape with label
-\fIlabel\fR\.
+\fIlabel\fR\&.
 .RE
 .PP
 \fBtaper\fR
 .RS 4
 Perform the
 \fBtaper\fR
-scan algorithm\. Load the next tape in the configuration\'s tape sequence, or a fresh tape with a suitable label\.
+scan algorithm\&. Load the next tape in the configuration\'s tape sequence, or a fresh tape with a suitable label\&.
 .RE
 .PP
 \fBdevice\fR
 .RS 4
 Display the name of the current tape device on
-\fIstdout\fR\.
+\fIstdout\fR\&.
 .RE
 .PP
 \fBcurrent\fR
 .RS 4
-Display the current slot\.
+Display the current slot\&.
 .RE
 .PP
 \fBupdate\fR
 .RS 4
-Update the changer label database, if it has one, to match the tapes now available\.
+Update the changer label database, if it has one, to match the tapes now available\&.
 .RE
 .PP
 \fBslot\fR \fIslot\fR
@@ -100,73 +258,56 @@ Update the changer label database, if it has one, to match the tapes now availab
 Eject any tape in the drive and put it away, then load the tape from slot
 \fIslot\fR
 and reset
-\fIcurrent\fR\.
+\fIcurrent\fR\&.
 .RE
 .PP
 \fBslot current\fR
 .RS 4
-Eject any tape in the drive and put it away, then load the tape from the current slot\.
-.RE
-.PP
-\fBslot prev\fR
-.RS 4
-Eject any tape in the drive and put it away, then load the tape from the previous slot and reset
-\fIcurrent\fR\.
+Eject any tape in the drive and put it away, then load the tape from the current slot\&.
 .RE
 .PP
 \fBslot next\fR
 .RS 4
 Eject any tape in the drive and put it away, then load the tape from the next slot and reset
-\fIcurrent\fR\.
+\fIcurrent\fR\&.
 .RE
 .PP
 \fBslot first\fR
 .RS 4
 Eject any tape in the drive and put it away, then load the tape from the first slot and reset
-\fIcurrent\fR\.
-.RE
-.PP
-\fBslot last\fR
-.RS 4
-Eject any tape in the drive and put it away, then load the tape from the last slot and reset
-\fIcurrent\fR\.
+\fIcurrent\fR\&.
 .RE
 .PP
 \fBslot advance\fR
 .RS 4
-Eject any tape in the drive and put it away\. Advance
-\fIcurrent\fR
-to the next tape, but do not load it\.
+Synonym for
+\fBslot next\fR\&.
 .RE
 .PP
 \fB\-o\fR \fIconfigoption\fR
 .RS 4
 See the "\fBCONFIGURATION OVERRIDE\fR" section in
-\fBamanda\fR(8)\.
+\fBamanda\fR(8)\&.
 .RE
 .PP
 This is useful with non\-gravity stackers to unload the last tape used and set up
 \fIAmanda\fR
-for the next run\. If you just use
-\fBeject\fR, the current tape will be mounted again in the next run, where it will be rejected as being still in use, ejected and the next tape requested\. Using
+for the next run\&. If you just use
+\fBeject\fR, the current tape will be mounted again in the next run, where it will be rejected as being still in use, ejected and the next tape requested\&. Using
 \fBslot next\fR
 followed by
 \fBeject\fR
-does an unnecessary mount\.
+does an unnecessary mount\&.
 .PP
 Note: most changers optimize the
 \fBslot\fR
-commands to not eject the loaded tape if it is the one being requested\.
-.SH "AUTHOR"
-.PP
-James da Silva,
-<jds@amanda\.org>
-: Original text
-.PP
-Stefan G\. Weichinger,
-<sgw@amanda\.org>, maintainer of the
-\fIAmanda\fR\-documentation: XML\-conversion
+commands to not eject the loaded tape if it is the one being requested\&.
 .SH "SEE ALSO"
 .PP
 \fBamanda\fR(8),
 : http://wiki.zmanda.com
+.SH "Authors"
+.PP
+\fBJames da Silva\fR <\&jds@amanda\&.org\&>
+.PP
+\fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>