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