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: Hunter Matthews
Subject: Re: [rdiff-backup-users] rdiff-backup fails
Date: Mon, 08 Aug 2005 12:19:24 -0400

If we're using pythons flock, that is portable enough, yes?
(Or does the windows python port not support flock somehow?)

On Sun, 2005-08-07 at 22:42, Ben Escoto wrote:
> >>>>> 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).
-- 
Hunter Matthews                          Unix / Network Administrator
Office: BioScience 145/244               Duke Univ. Biology Department
Key: F0F88438 / FFB5 34C0 B350 99A4 BB02  9779 A5DB 8B09 F0F8 8438
Never take candy from strangers. Especially on the internet.





reply via email to

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