sg_test_rwbuf --version (return code: 0)
sg_test_rwbuf: version: 1.09 20151220
sg_test_rwbuf --help (return code: 0)
Usage: sg_test_rwbuf [--addrd=AR] [--addwr=AW] [--help] [--quick]
--size=SZ [--times=NUM] [--verbose] [--version]
DEVICE
or
sg_test_rwbuf DEVICE SZ [AW] [AR]
where:
--addrd=AR extra bytes to fetch during READ BUFFER
--addwr=AW extra bytes to send to WRITE BUFFER
--help output this usage message then exit
--quick output read buffer size then exit
--size=SZ size of buffer (in bytes) to write then read back
--times=NUM number of times to run test (default 1)
--verbose increase verbosity of output
--version output version then exit
WARNING: If you access the device at the same time, e.g. because it's a
mounted hard disk, the device's buffer may be used by the device itself
for other data at the same time, and overwriting it may or may not
cause data corruption!
(c) Douglas Gilbert, Kurt Garloff, 2000-2007, GNU GPL