SCSI_STOP(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

✨ SCSI_STOP(8) β€” the scsi_stop manual πŸ’–

okay so the manual name here is scsi_stop πŸŽ€ and it's all about stopping (aka spinning down) one or more SCSI disks πŸ’… bestie, this one is lowkey iconic.

πŸ¦‹ SYNOPSIS

scsi_stop [--help] [--verbose] [--wait] DEVICE [DEVICE]*

Literally just run scsi_stop with any options you want, then list one or more DEVICEs. The [DEVICE]* part means you can keep adding more devices if you're feeling extra 🌸

🧚 DESCRIPTION

okay so this bash shell script is the sweetest little helper 🫢 it calls the sg_start utility on each DEVICE you give it. The whole point is to spin down (stop) every single one of them ✨

πŸŽ€ OPTIONS

Arguments to long options are mandatory for short options as well. No cap, this applies to both styles πŸ’œ

  • -h, --help β€” prints out the usage message, then exits. Main character move when you're lost πŸ™ˆ
  • -v, --verbose β€” increases the level of verbosity πŸ”Š
  • -w, --wait β€” waits for the spin down (stop) on each given DEVICE to finish before moving on. The default is to do each stop in immediate mode, so if you don't pass this flag, it just goes right away ⭐

🌈 NOTES

okay so sg_start calls the SCSI START STOP UNIT command πŸ“ depending on the options you hand it, it can either start (spin up) or stop (spin down) a SCSI disk. It's giving versatile πŸ‘‘

πŸ’€ EXIT STATUS

If everything goes well, this script exits with 0 ✨ otherwise, the exit status is whatever the last sg_start utility call returned. For more on that, check the sg3_utils(8) man page 🫢

🌸 AUTHORS

Written by D. Gilbert πŸ’– the queen who made this happen πŸ‘‘

Copyright Β© 2009-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. Lowkey scary, but that's just how the legal stuff goes πŸ™ˆ

🧚 SEE ALSO

  • sg_start (sg3_utils)

Okay bestie, that's the whole tea 🫢 Shoutout to sg3_utils-1.36 from May 2013, the lowkey iconic source that started it all πŸ’…βœ¨

πŸ“¦ where this page comes from