sg_rep_zones --version (return code: 0)
version: 1.08 20160203
sg_rep_zones --help (return code: 0)
Usage: sg_rep_zones [--help] [--hex] [--maxlen=LEN] [--partial]
[--raw] [--readonly] [--report=OPT] [--start=LBA]
[--verbose] [--version] DEVICE
where:
--help|-h print out usage message
--hex|-H output response in hexadecimal; used twice
shows decoded values in hex
--maxlen=LEN|-m LEN max response length (allocation length in cdb)
(def: 0 -> 8192 bytes)
--partial|-p sets PARTIAL bit in cdb
--raw|-r output response in binary
--readonly|-R open DEVICE read-only (def: read-write)
--report=OPT|-o OP reporting options (def: 0: all zones)
--start=LBA|-s LBA report zones from the LBA (def: 0)
need not be a zone starting LBA
--verbose|-v increase verbosity
--version|-V print version string and exit
Performs a SCSI REPORT ZONES command.