sg_read_long --version (return code: 0)
sg_read_long: version: 1.21 20160121
sg_read_long --help (return code: 0)
Usage: sg_read_long [--16] [--correct] [--help] [--lba=LBA] [--out=OF]
[--pblock] [--readonly] [--verbose] [--version]
[--xfer_len=BTL] DEVICE
where:
--16|-S do READ LONG(16) (default: READ LONG(10))
--correct|-c use ECC to correct data (default: don't)
--help|-h print out usage message
--lba=LBA|-l LBA logical block address (default: 0)
--out=OF|-o OF output in binary to file named OF
--pblock|-p fetch physical block containing LBA
--readonly|-r open DEVICE read-only (def: open it read-write)
--verbose|-v increase verbosity
--version|-V print version string and exit
--xfer_len=BTL|-x BTL byte transfer length (< 10000) default 520
Perform a SCSI READ LONG (10 or 16) command. Reads a single block with
associated ECC data. The user data could be encoded or encrypted.