sg_get_lba_status --version (return code: 0)
version: 1.07 20151219
sg_get_lba_status --help (return code: 0)
Usage: sg_get_lba_status [--brief] [--help] [--hex] [--lba=LBA]
[--maxlen=LEN] [--raw] [--readonly] [--verbose]
[--version] DEVICE
where:
--brief|-b a descriptor per line: <lba_hex blocks_hex p_status>
use twice ('-bb') for given LBA provisioning status
--help|-h print out usage message
--hex|-H output in hexadecimal
--lba=LBA|-l LBA starting LBA (logical block address) (def: 0)
--maxlen=LEN|-m LEN max response length (allocation length in cdb)
(def: 0 -> 24 bytes)
--raw|-r output in binary
--readonly|-R open DEVICE read-only (def: read-write)
--verbose|-v increase verbosity
--version|-V print version string and exit
Performs a SCSI GET LBA STATUS command (SBC-3)