[Unison-hackers] clobberin gin star configurations

Jerome Vouillon Jerome.Vouillon at pps.jussieu.fr
Mon May 16 15:49:13 EDT 2005


On Mon, Apr 04, 2005 at 09:22:32AM -0700, HvR wrote:
>  
> About a year or two ago I set up a star configuration:
> many "clients" syncing to one central "server". At
> that time unison would create a .# temp file such that
> if two unisons from different systems would be syncing
> the same file at the same time they would each create
> the same .# temp file and thus clobber each other. 
> 
> At that time a special unstable version existed that
> would create a .#<processid> temp file and thus the
> clobbering would not happen. The current stable
> version does not seem to do this. Is this no longer
> needed? Or do we still need to fix this.

Unison 2.10.2 and 2.12 both use temporary file names such as
   .#a.97130509bf3593fcda640d2fbd6f098c.unison.tmp
where "97130509bf3593fcda640d2fbd6f098c" corresponds to the archive
name.  Thus, there should be no problem with multiple instances of
Unison.

-- Jerome


More information about the Unison-hackers mailing list