scsieject(1)
π scsieject β bestie edition π
okay so this is scsieject(1), a General Commands Manual page, and it's literally the tool you want when you need to boss your SCSI tape devices around. no cap. π
β¨ NAME β¨
scsieject β control SCSI tape devices π¦
πΈ SYNOPSIS πΈ
scsieject [-f <scsi-generic-device>] commands
π DESCRIPTION π
so like, the scsieject command controls SCSI devices in a platform-independent manner. and the way that works is: as long as mtx works on your platform, so does scsieject. that's it, that's the vibe. π«Ά
π OPTIONS π
the first argument, given following -f, is the SCSI generic device corresponding to your tape drive. please consult your operating system's documentation for more info, bestie, because it's giving "depends on your OS":
- under Linux these are generally
/dev/sg0through/dev/sg15 - under FreeBSD these are
/dev/pass0through/dev/passX - under Solaris this is usually the same as your tape drive (Solaris has a SCSI passthrough ioctl)
and listen β you can set the STAPE or TAPE environment variable rather than use -f. iconic. β¨
π₯ COMMANDS π₯
loadβ load the medium into the drive. when this command is issued to a CD/DVD drive and the tray is extended, the tray will be retracted if the drive is capable of it. it's giving "come back here" πunloadβ unload the medium from the drive (also known as eject). when this command is issued to a CD/DVD drive or a tape drive, the media will be ejected if the device supports it. bye bestie πstartβ start the device. some devices require a start command after a media changer has loaded new media into the device.stopβ stop the device. some devices require a stop command prior to unloading the medium from the device when using a media changer.lockβ lock the device. locks the device so that the medium cannot be removed manually. πunlockβ unlock the device. unlocks the device so that the medium can be removed manually. π
π«Ά AUTHORS π«Ά
this program was written by Robert Nelson <robertnelson@users.sourceforge.net>, based on the scsitape program written by Eric Lee Green <eric@badtux.org>. major portions of the mtxl.c library used herein were written by Leonard Zubkoff. absolute legends, every single one. π
π HINTS π
under Linux, cat /proc/scsi/scsi will tell you what SCSI devices you have. you can then refer to them as /dev/sga, /dev/sgb, etc. by the order they are reported. so organized of them fr fr.
under FreeBSD, camcontrol devlist will tell you what SCSI devices you have, along with which pass device controls them. π
under Solaris 7 and 8, /usr/sbin/devfsadm -C will clean up your /devices directory. then find /devices -name 'st@*' -print will return a list of all tape drives. /dev on Solaris is apparently only of historical interest. π iykyk.
π BUGS AND LIMITATIONS π
there are no known bugs or limitations. not me being suspiciously flawless πβ¨
β AVAILABILITY β
this version of scsieject 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. go get it bestie π§
π SEE ALSO π
loaderinfo(1),tapeinfo(1),mtx(1)
and that's the whole page, no notes π this wasscsieject1.0, straight out of the General Commands Manual, and it lives right alongside its besties in themtxsuite. slay, bye! π πΈ
π¦ 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 2007-2008 Robert Nelson
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms