TAPEINFO(1)
π TAPEINFO π
okay so bestie, lemme put you onto something. this is tapeinfo, a General Commands Manual girlie whose whole job is: report SCSI tape device info. that's it. that's the gig. π
β¨ NAME β¨
tapeinfo β report SCSI tape device info π¦
β¨ SYNOPSIS β¨
tapeinfo -f <scsi-generic-device>
β¨ DESCRIPTION β¨
so tapeinfo reads a bunch of information off your SCSI tape drives β the kind of stuff that most vendors' tape drivers just don't hand over. it doesn't ask nicely through the driver, no ma'am, it issues raw commands directly to the tape drive, using either:
- the operating system's SCSI generic device (e.g.
/dev/sg0on Linux,/dev/pass0on FreeBSD), or - the raw SCSI I/O ioctl on a tape device, on some operating systems.
lowkey one of the best times to run this is immediately after a tape i/o operation has failed π like right after, while the drama is still fresh. on tape drives that support HP's 'tapealert' API, tapeinfo will report a more exact description of what went wrong. so instead of just vibes and mystery errors, you get actual answers. iconic.
π«Ά real talk though:tapeinfois not a substitute for your operating system's own'mt'or similar tape driver control program. it's meant to supplement, not replace, programs like'mt'that access your operating system's tape driver in order to report or set information. two different girls, two different jobs. periodt.
β¨ OPTIONS β¨
-fβ the first argument, given following-f, is the SCSI generic device corresponding to your tape drive. π consult your operating system's documentation for more info β for example, under Linux these generally start at/dev/sg0; under FreeBSD these start at/dev/pass0.
and bestie, if you're sitting there like "which device is even mine tho" π:
- Under FreeBSD,
'camcontrol devlist'will tell you what SCSI devices you have, along with which'pass'device controls them. πΈ - Under Linux,
"cat /proc/scsi/scsi"will tell you what SCSI devices you have. β
π BUGS AND LIMITATIONS π
ngl, this program has only been tested on Linux with a limited number of tape drives (HP DDS4, Seagate AIT). that's the whole list. she's niche and she knows it. π§
π AVAILABILITY π
tapeinfo is currently being maintained by Robert Nelson <robertnelson@users.sourceforge.net> as part of the 'mtx' suite of programs. the 'mtx' home page is http://mtx.sourceforge.net and the actual code is currently available there and via SVN from http://sourceforge.net/projects/mtx. π«Ά
π SEE ALSO π
mt(1), mtx(1), scsitape(1), scsieject(1), loaderinfo(1)
and that's the whole page, bestie π this one's running version TAPEINFO1.0 β shoutout to the mtx suite for keeping her alive, mwah, go read your tapes πβ¨
π¦ where this page comes from
- alpine 3.22: mtx-doc 1.3.12-r4 Β· GPL-2.0-only
- alpine 3.23: mtx-doc 1.3.12-r5 Β· GPL-2.0-only
- alpine 3.24: mtx-doc 1.3.12-r5 Β· GPL-2.0-only
- centos-stream 10: mtx 1.3.12-35.el10 Β· GPL-2.0-only
- centos-stream 9: mtx 1.3.12-27.el9 Β· GPLv2
- debian bookworm: mtx 1.3.12-14
- fedora 43: mtx 1.3.12-36.fc43 Β· GPL-2.0-only
- fedora 44: mtx 1.3.12-37.fc44 Β· GPL-2.0-only
- nixos 26.05: mtx 1.3.12
- nixpkgs unstable: mtx 1.3.12
- ubuntu jammy: mtx 1.3.12-14build2
- copyright 2000 Eric Lee Green
- Copyright 2000 Eric Lee Green <eric@badtux.org>
- Copyright 2007-2008 by Robert Nelson <robertn@the-nelsons.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms