Reading for area during rsync

Wayne Davison wayned at samba.org
Tue Jan 31 17:52:25 GMT 2006


On Mon, Jan 30, 2006 at 11:36:31PM +0000, Jamie Lokier wrote:
> But this won't work if the change that occurred on the sending side
> after the transfer started happens within the same second, and the
> mtimes have only one second resolution, will it?

If the file was changed twice in the same second, the first prior to
when rsync called stat() on the file, and the second immediately after.
If it's just a change made concurrent with rsync coping the file, that
will get noticed by rsync because the mtime will be different the next
time around (remember that rsync will have duplicated the old mtime,
not the change-in-the-the-middle-of-the-transfer mtime).

..wayne..


More information about the rsync mailing list