sg_start --version (return code: 0)
Version string: 0.60 20151219
sg_start --help (return code: 0)
Usage: sg_start [--eject] [--fl=FL] [--help] [--immed] [--load] [--loej]
[--mod=PC_MOD] [--noflush] [--pc=PC] [--readonly]
[--start] [--stop] [--verbose] [--version] DEVICE
where:
--eject|-e stop unit then eject the medium
--fl=FL|-f FL format layer number (mmc5)
--help|-h print usage message then exit
--immed|-i device should return control after receiving cdb,
default action is to wait until action is complete
--load|-l load medium then start the unit
--loej|-L load or eject, corresponds to LOEJ bit in cdb;
load when START bit also set, else eject
--mod=PC_MOD|-m PC_MOD power condition modifier (def: 0) (sbc)
--noflush|-n no flush prior to operation that limits access (sbc)
--pc=PC|-p PC power condition: 0 (default) -> no power condition,
1 -> active, 2 -> idle, 3 -> standby, 5 -> sleep (mmc)
--readonly|-r open DEVICE read-only (def: read-write)
recommended if DEVICE is ATA disk
--start|-s start unit, corresponds to START bit in cdb,
default (START=1) if no other options given
--stop|-S stop unit (e.g. spin down disk)
--verbose|-v increase verbosity
--version|-V print version string then exit
Example: 'sg_start --stop /dev/sdb' stops unit
'sg_start --eject /dev/scd0' stops unit and ejects medium
Performs a SCSI START STOP UNIT command