fix lintian issues
[debian/mtx] / tapeinfo.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 TAPEINFO 1 TAPEINFO1.0
26 .SH NAME
27 tapeinfo \- report SCSI tape device info
28 .SH SYNOPSIS
29 tapeinfo -f <scsi-generic-device>
30 .SH DESCRIPTION
31 The 
32 .B tapeinfo
33 command reads various information from SCSI tape drives that is not
34 generally available via most vendors' tape drivers. It issues raw
35 commands directly to the tape drive, using either the operating system's
36 SCSI generic device ( e.g. /dev/sg0 on Linux, /dev/pass0 on FreeBSD) or
37 the raw SCSI I/O ioctl on a tape device on some operating systems. 
38 .P
39 One good time to use 'tapeinfo' is immediately after a tape i/o operation has
40 failed. On tape drives that support HP's 'tapealert' API, 'tapeinfo' will
41 report a more exact description of what went wrong. 
42 .P
43 Do be aware that 'tapeinfo' is not a substitute for your operating system's
44 own 'mt' or similar tape driver control program. It is intended to supplement,
45 not replace, programs like 'mt' that access your operating system's tape
46 driver in order to report or set information. 
47 .SH OPTIONS
48 The first argument, given following
49 .B -f
50 , is the SCSI generic device corresponding to your tape drive.
51 Consult your operating system's documentation for more information (for
52 example, under Linux these are generally start at /dev/sg0 
53 under FreeBSD these start at /dev/pass0).
54 .P
55 Under FreeBSD, 'camcontrol devlist' will tell you what SCSI devices you
56 have, along with which 'pass' device controls them. Under Linux,
57 "cat /proc/scsi/scsi" will tell you what SCSI devices you have.
58
59 .SH BUGS AND LIMITATIONS
60 .P
61 This program has only been tested on Linux with a limited number of
62 tape drives (HP DDS4, Seagate AIT). 
63 .P
64 .SH AVAILABILITY
65 .B tapeinfo
66 is currently being maintained by Robert Nelson <robertnelson@users.sourceforge.net> 
67 as part of the 'mtx' suite of programs. The 'mtx' home page is 
68 http://mtx.sourceforge.net and the actual code is currently available there and via 
69 SVN from http://sourceforge.net/projects/mtx. 
70
71 .SH SEE ALSO
72 .BR mt (1), mtx (1), scsitape (1), scsieject (1), loaderinfo (1)