core 1 iso2 md5sum not matching

Steven Pritchard steve at silug.org
Sat Dec 20 20:51:16 UTC 2003


On Sat, Dec 20, 2003 at 01:45:12PM -0500, seth vidal wrote:
> if the server disables checksumming then, no, rsync won't be able to do
> it, no matter what you do to the client. It will just redownload the
> whole thing.

No, it won't.

$ dd if=/dev/urandom of=yarrow-i386-disc1.iso count=8 seek=400 conv=notrunc
8+0 records in
8+0 records out
$ rsync -avHP rsync://ftp.dulug.duke.edu/fedora/linux/core/1/i386/iso/yarrow-i386-disc1.iso yarrow-i386-disc1.iso 
[... motd, etc. ...]
wrote 241964 bytes  read 178258 bytes  1932.06 bytes/sec
total size is 660340736  speedup is 1571.41

>From the man page:

       -c, --checksum
              This forces the sender to checksum all files using a 128-bit MD4
              checksum  before  transfer.  The  checksum  is  then explicitly
              checked  on  the  receiver  and any files of the same name which
              already exist and  have  the  same  checksum  and  size on  the
              receiver are skipped.  This option can be quite slow.

So turning off this option just means that rsync doesn't checksum
every file when it sends the file list.  It doesn't change the normal
behavior of rsync, where a checksum is sent for every block.

Steve
-- 
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: steve at kspei.com             http://www.kspei.com/
Phone: (618)398-7360               Mobile: (618)567-7320





More information about the fedora-devel-list mailing list