does rsync lock exclusively files to copy?
hathanassiou at automatedcell.com
Thu Jul 24 11:12:21 EST 2003
I'm running rsync 2.5.6 on windows (via cygwin) and I've had other processes try to open the same files as rsync, but could not get through sometimes. Does rsync place a shared lock or an exclusive lock on the files it will copy from?
I checked into the sources but did not find any use of flock() which could specify either LOCK_SH or LOCK_EX, so I'm not sure what the open() does when used with O_RDONLY.
Any similar experiences?
Haralabos N. Athanassiou
Automated Cell Inc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Haralabos N. Athanassiou.vcf
Size: 960 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20030723/0ef4fda1/HaralabosN.Athanassiou.vcf
More information about the rsync