"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/sg_dd.8" between
sg3_utils-1.47r908.tgz and sg3_utils-1.47r915.tar.xz

About: sg3_utils contains utilities that send SCSI commands to devices. Beta version.

sg_dd.8  (sg3_utils-1.47r908.tgz):sg_dd.8  (sg3_utils-1.47r915.tar.xz)
skipping to change at line 305 skipping to change at line 305
OFILE doesn't exist then an error is generated. Without this f lag a regular (empty) file named OFILE doesn't exist then an error is generated. Without this f lag a regular (empty) file named
OFILE will be created (and then filled). For production quality sc ripts where OFILE is a device OFILE will be created (and then filled). For production quality sc ripts where OFILE is a device
node (e.g. '/dev/sdc') this flag is recommended. It guards a gainst the remote possibility of node (e.g. '/dev/sdc') this flag is recommended. It guards a gainst the remote possibility of
'dev/sdc' disappearing temporarily (e.g. a USB memory key removed) resulting in a large regular 'dev/sdc' disappearing temporarily (e.g. a USB memory key removed) resulting in a large regular
file called '/dev/sdc' being created. file called '/dev/sdc' being created.
null has no affect, just a placeholder. null has no affect, just a placeholder.
random this flag is only active with iflag= and when given replaces if=I FILE. If both are given an error random this flag is only active with iflag= and when given replaces if=I FILE. If both are given an error
is generated. The input will be a stream of pseudo random bytes. The Linux getrandom(2) system is generated. The input will be a stream of pseudo random bytes. The Linux getrandom(2) system
call is used to create a seed and thereadter mrand48_r(3) is used to generate a pseudo random call is used to create a seed and there after mrand48(3) is used to generate a pseudo random
sequence, 4 bytes at a time. The quality of the randomness can be viewed with the ent(1) utility. sequence, 4 bytes at a time. The quality of the randomness can be viewed with the ent(1) utility.
This is not a high quality random number generator, it is built fo r speed, not quality. One appli- This is not a high quality random number generator, it is built fo r speed, not quality. One appli-
cation is checking the correctness of the copy and verify operatio ns of this utility. cation is checking the correctness of the copy and verify operatio ns of this utility.
sgio causes block devices to be accessed via the SG_IO ioctl rather t han standard UNIX read() and sgio causes block devices to be accessed via the SG_IO ioctl rather t han standard UNIX read() and
write() commands. When the SG_IO ioctl is used the SCSI READ and WRITE commands are used directly write() commands. When the SG_IO ioctl is used the SCSI READ and WRITE commands are used directly
to move data. sg devices always use the SG_IO ioctl. This flag off ers finer grain control compared to move data. sg devices always use the SG_IO ioctl. This flag off ers finer grain control compared
to the otherwise identical 'blk_sgio=1' option. to the otherwise identical 'blk_sgio=1' option.
sparse after each BS * BPT byte segment is read from the input, it is che cked for being all zeros. If so, sparse after each BS * BPT byte segment is read from the input, it is che cked for being all zeros. If so,
skipping to change at line 470 skipping to change at line 470
The lmbench package contains lmdd which is also interesting. For moving d ata to and from tapes see dt The lmbench package contains lmdd which is also interesting. For moving d ata to and from tapes see dt
which is found at https://www.scsifaq.org/RMiller_Tools/index.html which is found at https://www.scsifaq.org/RMiller_Tools/index.html
To change mode parameters that effect a SCSI device's caching and error r ecovery see sdparm(sdparm) To change mode parameters that effect a SCSI device's caching and error r ecovery see sdparm(sdparm)
To verify the data on the media or to verify it against some ot her copy of the data see sg_ver- To verify the data on the media or to verify it against some ot her copy of the data see sg_ver-
ify(sg3_utils) ify(sg3_utils)
See also raw(8), dd(1), ddrescue(GNU), ddpt See also raw(8), dd(1), ddrescue(GNU), ddpt
sg3_utils-1.47 April 2021 SG_DD(8) sg3_utils-1.47 August 2021 SG_DD(8)
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)