OS Manuals

/usr/bin/sg_scan

SCSI utilities for Linux, Unix and Windows

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

Unrecognized option: -help
Usage: sg_scan [-a] [-i] [-n] [-v] [-V] [-w] [-x] [DEVICE]*
  where:
    -a    do alpha scan (ie sga, sgb, sgc)
    -i    do SCSI INQUIRY, output results
    -n    do numeric scan (ie sg0, sg1...) [default]
    -v    increase verbosity
    -V    output version string then exit
    -w    force open with read/write flag
    -x    extra information output about queuing
   DEVICE    name of device
Options (7)
OptionDescriptionSource
-ado alphabetical scan (i.e. sga, sgb, sgc).help + man
-ido a SCSI INQUIRY, output results in a second (indented) line.help + man
-ndo numeric scan (i.e. sg0, sg1...) [default]help + man
-vincrease verbosityhelp
-Voutput version string then exithelp
-wuse a read/write flag when opening sg device (default is read-only)help + man
-xextra information output about queueinghelp + 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.