📄 tapeinfo.1
字号:
.\" tapeinfo.1 Document copyright 2000 Eric Lee Green.\" Program Copyright 2000 Eric Lee Green <eric@estinc.com>.\".\" This is free documentation; you can redistribute it and/or.\" modify it under the terms of the GNU General Public License as.\" published by the Free Software Foundation; either version 2 of.\" the License, or (at your option) any later version..\".\" The GNU General Public License's references to "object code".\" and "executables" are to be interpreted as the output of any.\" document formatting or typesetting system, including.\" intermediate and printed output..\".\" This manual is distributed in the hope that it will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the.\" GNU General Public License for more details..\".\" You should have received a copy of the GNU General Public.\" License along with this manual; if not, write to the Free.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,.\" USA..\".TH TAPEINFO 1 TAPEINFO1.0.SH NAMEtapeinfo \- report SCSI tape device info.SH SYNOPSIStapeinfo -f <scsi-generic-device>.SH DESCRIPTIONThe .B tapeinfocommand reads various information from SCSI tape drives that is notgenerally available via most vendors' tape drivers. It issues rawcommands directly to the tape drive, using either the operating system'sSCSI generic device ( e.g. /dev/sg0 on Linux, /dev/pass0 on FreeBSD) orthe raw SCSI I/O ioctl on a tape device on some operating systems. .POne good time to use 'tapeinfo' is immediately after a tape i/o operation hasfailed. On tape drives that support HP's 'tapealert' API, 'tapeinfo' willreport a more exact description of what went wrong. .PDo be aware that 'tapeinfo' is not a substitute for your operating system'sown 'mt' or similar tape driver control program. It is intended to supplement,not replace, programs like 'mt' that access your operating system's tapedriver in order to report or set information. .SH OPTIONSThe first argument, given following.B -f, is the SCSI generic device corresponding to your tape drive.Consult your operating system's documentation for more information (forexample, under Linux these are generally start at /dev/sg0 under FreeBSD these start at /dev/pass0)..PUnder FreeBSD, 'camcontrol devlist' will tell you what SCSI devices youhave, along with which 'pass' device controls them. Under Linux,"cat /proc/scsi/scsi" will tell you what SCSI devices you have..SH BUGS AND LIMITATIONS.PThis program has only been tested on Linux with a limited number oftape drives (HP DDS4, Seagate AIT). .P.SH AVAILABILITY.B tapeinfois currently being maintained by Eric Lee Green <eric@badtux.org> formerly ofEnhanced Software Technologies Inc. The 'mtx' home page ishttp://mtx.sourceforge.net and the actual codeis currently available there and via CVS from http://sourceforge.net/projects/mtx/ . .SH SEE ALSO.BR mt (1), mtx (1), scsitape (1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -