Usage: sg_vpd [--all] [--descriptors] [--enumerate] [--examine] [--force] [--help] [--hex] [--ident] [--inhex=FN] [--json[=JO]] [--js-file=JFN] [--long] [--maxlen=LEN] [--page=PG] [--quiet] [--raw] [--sinq_inraw=RFN] [--vendor=VP] [--verbose] [--version] DEVICE where: --all|-a output all pages listed in the supported pages VPD page --descriptors|-d display standard inquiry version descriptors --enumerate|-e enumerate known VPD pages names (ignore DEVICE), can be used with --page=num to search --examine|-E starting at 0x80 scan pages code to 0xff --force|-f skip VPD page 0 (supported VPD pages) checking --help|-h output this usage message then exit --hex|-H output page in ASCII hexadecimal --ident|-i output device identification VPD page, twice for short logical unit designator (equiv: '-qp di_lu') --inhex=FN|-I FN read ASCII hex from file FN instead of DEVICE; if used with --raw then read binary from FN --json[=JO]|-j[=JO] output in JSON instead of plain text Use --json=? for JSON help --js-file=JFN|-J JFN JFN is a filename to which JSON output is written (def: stdout); truncates then writes --long|-l perform extra decoding --maxlen=LEN|-m LEN max response length (allocation length in cdb) (def: 0 -> 252 bytes) --page=PG|-p PG fetch VPD page where PG is an acronym, or a decimal number unless hex indicator is given (e.g. '0x83'); can also take PG,VP as an operand --quiet|-q suppress some decoding and error output --raw|-r output page in binary; if --inhex=FN is also given, FN is in binary (else FN is in hex) --sinq_inraw=RFN|-Q RFN read raw (binary) standard INQUIRY response from the RFN filename --vendor=VP|-M VP vendor/product abbreviation [or number] --verbose|-v increase verbosity --version|-V print version string and exit Fetch Vital Product Data (VPD) page using SCSI INQUIRY or decodes VPD page response held in file FN. To list available pages use '-e'. Also '-p -1' or '-p sinq' yields the standard INQUIRY response.