A question about rsync

Wayne Davison wayned at samba.org
Mon Jun 7 04:42:22 GMT 2004


On Mon, Jun 07, 2004 at 03:47:47AM +0000, Guo jing wrote:
> As you said, if the source file reduced and the blocks were occupied by 
> other files there will be a file with other file's content and a abnormal 
> end on the other end.

No, the OS doesn't work that way.  Rsync will instead copy lots of 0s
for the missing data.  A very recent version (currently only in CVS)
will notice that the file is bogus and refuse to move it into place
on the receiver (unless you specified --partial).

..wayne..


More information about the rsync mailing list