SCSI_MANDAT(8)

πŸ“¦
version 1.49 Β· 3 versions
, in alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸŽ€ 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 Β© 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