rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] rdiff-backup fails


From: Ben Escoto
Subject: Re: [rdiff-backup-users] rdiff-backup fails
Date: Sun, 7 Aug 2005 19:42:53 -0700

>>>>> Kevin Spicer <address@hidden>
>>>>> wrote the following on Sun, 07 Aug 2005 21:03:29 +0100

> What about just getting an exclusive lock on a file using flock.  If you
> can't get the lock then there is another rdiff-backup in progress, if
> rdiff-backup fails then the process exiting will release the lock. 

Is locking portable though?  I guess it would be enough if we could
tell whether or not we had locking.  If we have flock, and can't get a
lock, then we know another rdiff-backup process is running (or a 3rd
thing is broken).


-- 
Ben Escoto




reply via email to

[Prev in Thread] Current Thread [Next in Thread]