[patch] paranoid checksum checking

Wayne Davison wayned at samba.org
Wed Jul 27 18:06:14 GMT 2005

On Wed, Jul 27, 2005 at 11:05:17AM +0100, Nick Burrett wrote:
> The attached patch incorporates your suggestions, and calls the option
> '--read-verify'.

Note that your suggested option does not need to affect the --checksum
code in any way -- that code sends pre-transfer checksums to determine
if files need to be sent based on their checksum value rather than on
their file attributes (e.g. size & modtime).  Any transferred file is
accompanied by a full-file checksum for verification purposes, so you
don't want --read-verify to imply --checksum, as the two options are
not related.  In fact, the file that rsync wrote out is already known
to match the checksum of the sending side, so the only thing that your
patch will do is check for disk-write errors (e.g. bad disk sectors).


More information about the rsync mailing list