On Thu, Jun 20, 2002 at 03:47:14PM -0600, [EMAIL PROTECTED] wrote:
> I don't know if the setlock thing is completely immune to racing.

setlock (and possibly other utilities like it) basically obtains an
exclusive lock on a user-specified file before running the indicated
program.  If flock()/lockf() on your chosen OS is susceptible to race
conditions, it's seriously broken (and you'd have to worry about far
more serious problems than concurrent rsyncs).

> It might be better.

It's certainly more reliable than grep'ing ps output.  8-)

- Adrian

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to