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
BioInformatics Manager
Automated Cell Inc
BEGIN:VCARD
VERSION:2.1
N:Athanassiou;Haralabos;N.
FN:Haralabos N. Athanassiou
ORG:Automated Cell Inc;Automation Group
TITLE:BioInformatics Manager
NOTE;ENCODING=QUOTED-PRINTABLE:ICQ# 28215626=0D=0A=0D=0APayTrust Billing=0D=0ABox 02703507=0D=0ASioux Falls=
=0D=0ASD 57186=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=
=0D=0A=0D=0A
TEL;WORK;VOICE:+1 (412) 826-5205 x5218
TEL;WORK;VOICE:+1 (412) 624-7739
TEL;CAR;VOICE:+30 (6976) 68 04 47
TEL;WORK;FAX:+1 (412) 826-5215
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;bldg B4, 222;390 William Pitt Way=0D=0AU-PARC;Pittsburgh;PA;15238;United St=
ates
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:bldg B4, 222=0D=0A390 William Pitt Way=0D=0AU-PARC=0D=0APittsburgh, PA 15238=
=0D=0AUnited States
BDAY:19670825
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:20030724T011221Z
END:VCARD
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html