On Fri 16 Apr 2010, Matt McCutchen wrote:

> > Additionally, would the writing program be blocked from writing to the
> > file if rsync is reading the file?
> 
> Not on unix-like systems.  OTOH, I believe Windows enforces read/write
> locking, so rsync could not have the file open for reading at the same
> time as another process has it open for writing.

And more importantly perhaps in this context: while rsync is reading the
file, the program trying to open the file to update will fail to do so,
and it might not handle that situation correctly (perhaps even crash).
On windows of course; as Matt says, this is not an issue on unix-like
systems.


Paul
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to