Hello List, i would like to know when the checksum (-c option) gets executed excatly and where. I aleady had a look in the docs and in the source code, but wasn?t too lucky. The way i want/need it would be: 1. make checksum on (full) source file 2. transfer file 3. check checksum on (full) destination With "(full)" i mean the whole file, not parts/segments of it. Is this the case? Thanks, Mario
On Wed, Feb 15, 2006 at 04:55:40PM +0100, Mario Ohnewald wrote:> i would like to know when the checksum (-c option) gets executed excatly > and where. [...] > The way i want/need it would be: > 1. make checksum on (full) source file > 2. transfer file > 3. check checksum on (full) destinationNo, you're confusing --checksum, a pre-transfer check, with something that rsync does automatically: a whole-file checksum verification after every update. You don't normally need to use -c as long as you use -t. ..wayne..
> On Wed, Feb 15, 2006 at 06:47:34PM +0100, mario@bortal.de wrote: >> Does the -t option use a checksum at all? > > No, but rsync does -- as I just said, rsync automatically does a > whole-file checksum of every transferred file to ensure that it was > transferred correctly. This always happens.Nice indeed! :) I dont wanna piss you off, but is this documented in detail somewhere? ;)> >> The --checksum options creates checksums file-blocks, but not of the >> whole file, right? > > No. The --checksum option is an extra, pre-transfer, whole-file test > for changedness that is used instead of -t to decide what files to send > (and thus slows rsync down considerably).ok. Cheers, Mario