sgp_dd --version (return code: 0)
sgp_dd: : 5.52 20160121
sgp_dd --help (return code: 0)
Usage: sgp_dd [bs=BS] [count=COUNT] [ibs=BS] [if=IFILE] [iflag=FLAGS]
[obs=BS] [of=OFILE] [oflag=FLAGS] [seek=SEEK] [skip=SKIP]
[--help] [--version]
[bpt=BPT] [cdbsz=6|10|12|16] [coe=0|1] [deb=VERB] [dio=0|1]
[fua=0|1|2|3] [sync=0|1] [thr=THR] [time=0|1] [verbose=VERB]
where:
bpt is blocks_per_transfer (default is 128)
bs must be device block size (default 512)
cdbsz size of SCSI READ or WRITE cdb (default is 10)
coe continue on error, 0->exit (def), 1->zero + continue
count number of blocks to copy (def: device size)
deb for debug, 0->none (def), > 0->varying degrees of debug
dio is direct IO, 1->attempt, 0->indirect IO (def)
fua force unit access: 0->don't(def), 1->OFILE, 2->IFILE,
3->OFILE+IFILE
if file or device to read from (def: stdin)
iflag comma separated list from: [coe,dio,direct,dpo,dsync,excl,
fua, null]
of file or device to write to (def: stdout), OFILE of '.'
treated as /dev/null
oflag comma separated list from: [append,coe,dio,direct,dpo,dsync,
excl,fua,null]
seek block position to start writing to OFILE
skip block position to start reading from IFILE
sync 0->no sync(def), 1->SYNCHRONIZE CACHE on OFILE after copy
thr is number of threads, must be > 0, default 4, max 16
time 0->no timing(def), 1->time plus calculate throughput
verbose same as 'deb=VERB': increase verbosity
--help output this usage message then exit
--version output version string then exit
Copy from IFILE to OFILE, similar to dd command
specialized for SCSI devices, uses multiple POSIX threads