fix lintian issues
[debian/mtx] / loaderinfo.1
1 .\" tapeinfo.1  Document copyright 2000 Eric Lee Green
2 .\"  Program Copyright 2000 Eric Lee Green <eric@badtux.org>
3 .\"  Copyright 2007-2008 by Robert Nelson <robertn@the-nelsons.org>
4 .\"
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
9 .\"
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
14 .\"
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 .\" GNU General Public License for more details.
19 .\"
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual; if not, write to the Free
22 .\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
23 .\" USA.
24 .\"
25 .TH LOADERINFO 1 LOADERINFO1.0
26 .SH NAME
27 loaderinfo \- report SCSI tape device info
28 .SH SYNOPSIS
29 loaderinfo -f <scsi-generic-device>
30 .SH DESCRIPTION
31 The 
32 .B loaderinfo
33 command reads various information from SCSI tape loaders. Its intended
34 use is for high-level programs that are trying to decide what the
35 capabilities of a device are. 
36 .P
37 The following are printed:
38 .TP 10
39 .B  Element Address Assignment Page:
40 This tells how many elements are in the loader, and what their raw
41 hardware addresses are. 
42
43 .TP 10
44 .B Transport Geometry Descriptor Page:
45 Will display whether media is invertible or not (usable with some
46 optical jukeboxes for detirmining whether to "flip" media after writing
47 to the first side). 
48
49 .TP 10 
50 .B Device Capabilities Page
51 Currently will only display whether we can transfer between slots (i.e.
52 whether 'mtx transfer' works). 
53
54 .TP 10
55 .B Inquiry Page
56 Aside from the normal inquiry info, will also print out whether we have
57 a bar code reader (for loaders that support the Exabyte extension for
58 reporting presense of said reader). 
59
60
61 .SH OPTIONS
62 The first argument, given following
63 .B -f
64 , is the SCSI generic device corresponding to your tape loader. 
65 Consult your operating system's documentation for more information (for
66 example, under Linux these are generally start at /dev/sg0 
67 under FreeBSD these start at /dev/pass0).
68 .P
69 Under FreeBSD, 'camcontrol devlist' will tell you what SCSI devices you
70 have, along with which 'pass' device controls them. Under Linux,
71 "cat /proc/scsi/scsi" will tell you what SCSI devices you have. Under
72 Solaris 8, 
73 .B find /devices -name '*changer*'
74 will display the device names for your attached changers. Make sure
75 to configure your 'sgen' driver first. 
76
77 .SH BUGS AND LIMITATIONS
78 .P
79 This program has only been tested on Linux with a limited number of
80 loaders (Ecrix Autopack, Exabyte 220). 
81 .P
82 .SH AVAILABILITY
83 .B loaderinfo
84 is currently being maintained by Robert Nelson <robertnelson@users.sourceforge.net> 
85 as part of the 'mtx' suite of programs. The 'mtx' home page is 
86 http://mtx.sourceforge.net and the actual code is currently available there and via 
87 SVN from http://sourceforge.net/projects/mtx. 
88
89 .SH SEE ALSO
90 .BR mt (1), tapeinfo (1), mtx (1)