SCSI_MANDAT(8)
π NAME π
okay so the manual name here is scsi_mandat π and it's basically a check for SCSI device support for mandatory commands. bestie, this one is lowkey iconic β¨
π§ SYNOPSIS π§
scsi_mandat [--help] [--log] [--quiet] [--verbose] DEVICE
π DESCRIPTION π
this is a bash shell script π that runs a bunch of SCSI commands on whatever DEVICE you hand it. these commands count as mandatory (it does shift a little depending on which standard or draft the DEVICE follows, so don't panic π). you get the result of every test plus a pass/fail count at the end. no cap, it's so clean πΈ
β¨ OPTIONS β¨
bestie, arguments to long options are mandatory for short options too π«Ά so keep that in mind!
-h,--helpβ prints the usage message and then exits π-L,--logβ every bit of stderr output from each SCSI command gets appended to a file called'scsi_mandat.err'in your current working directory π-q,--quietβ the output gets dialed way down, and you'll usually just see the pass/fail count π€«-v,--verboseβ cranks up the verbosity level π£
π¦ EXIT STATUS π¦
the exit status is the number of "bad" errors that got found π so an exit status of 0 means every mandatory SCSI command behaved exactly as expected. that's the dream β¨
π AUTHORS π
Written by D. Gilbert π
π COPYRIGHT π
Copyright Β© 2011-2013 Douglas Gilbert π this software is distributed under a BSD-2-Clause license. there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE π
π«Ά SEE ALSO π«Ά
sg_inq, sg_luns, sg_turs, sg_requests, sg_vpd, sg_senddiag (all from sg3_utils) π₯
bestie, that's the whole page π₯Ή this one came from sg3_utils-1.36, last updated May 2013. stay iconic and keep your SCSI devices mandatory-compliant ππ¦
π¦ where this page comes from
- alpine 3.24: sg3_utils-doc 1.48-r0 Β· BSD-2-Clause AND GPL-2.0-or-later
- arch rolling: sg3_utils 1.49-1 Β· GPL-2.0-or-later AND BSD-2-Clause
- centos-stream 10: sg3_utils 1.48-11.el10 Β· GPL-2.0-or-later AND BSD-2-Clause
- debian trixie: sg3-utils 1.48-3~deb13u1
- fedora 43: sg3_utils 1.48-10.fc43 Β· GPL-2.0-or-later AND BSD-2-Clause
- fedora 43: sg3_utils 1.48-6.fc43 Β· GPL-2.0-or-later AND BSD-2-Clause
- fedora 44: sg3_utils 1.48-10.fc44 Β· GPL-2.0-or-later AND BSD-2-Clause
- fedora 44: sg3_utils 1.48-8.fc44 Β· GPL-2.0-or-later AND BSD-2-Clause
- nixos 26.05: sg3_utils 1.48
- nixpkgs unstable: sg3_utils 1.49
- ubuntu questing: sg3-utils 1.48-2ubuntu1
- ubuntu resolute: sg3-utils 1.48-3ubuntu3
- ubuntu resolute: sg3-utils 1.48-3ubuntu3.2
- ubuntu stonking: sg3-utils 1.48-3ubuntu5
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms