OS Manuals

/usr/bin/sg_start

SCSI utilities for Linux, Unix and Windows

From sg3-utils 1.49-r3 (enterprise-packages), captured 2026-11-08 by running sg_start --help (exit 0). permalink

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
    --old|-O        use old interface (use as first option)
    --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
Options (17)
OptionDescriptionSource
--fl, -f FL|-fsets the format layer number for the disc to "jump" to (defined in MMC-5).help + man
--mod, -m PC_MOD|-mwhere PC_MOD is the 'power condition modifier' value.help + man
--pc, -p PC|-ppower condition: 0 (default) -> no power condition, 1 -> active, 2 -> idle, 3 -> standby, 5 -> sleep (mmc)help + man
-e, --ejectstop the medium and eject it from the drive. (in the manual page but not in --help)man
-h, --helpprint out the usage message then exit. (in the manual page but not in --help)man
-i, --immedsets the IMM bit on the START STOP UNIT command so this utility will return immediately and not wait for the media to complete the requested action. (in the manual page but not in --help)man
-l, --loadload the medium in the drive and start it. (in the manual page but not in --help)man
-L, --loejsets the LOEJ bit on the START STOP UNIT command. (in the manual page but not in --help)man
-n, --noflushdo not perform a flush to media (e.g. like SYNCHRONIZE CACHE does) before a variant of this utility that limits access to the media. (in the manual page but not in --help)man
-O, --oldSwitch to older style options. (in the manual page but not in --help)man
-r, --readonlyopen the DEVICE in read-only mode. (in the manual page but not in --help)man
-s, --startstart (spin-up) the DEVICE. (in the manual page but not in --help)man
-S, --stopstop (spin-down) the DEVICE. (in the manual page but not in --help)man
-v, --verboseincrease the level of verbosity. (in the manual page but not in --help)man
-V, --versionprint out version string then exit. (in the manual page but not in --help)man
--imm 0|1when the immediate bit is 1 then this utility returns immediately after the DEVICE has received the command. (in the manual page but not in --help)man
-N, --newSwitch to the newer style options. (in the manual page but not in --help)man
Exit status (1) from the manual page
0it is successful

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.