[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: The /. article

From: Tom Lord <lord_at_regexps.com>
Date: 2002-02-06 09:40:53 CET

   Zack Weinberg wrote:
> I would point out that it is quite difficult to implement an atomic
> transaction model on top of bare Unix filesystem primitives, and even
> harder on Windows due to the lack of hard links. Use of a database
> gets Subversion atomicity for free.

   I've always used mkdir() to create locks for both Windows and Unix. Is
   there any reason (beyond slowness) that they are used instead of hard
   links?

If the file system in question is managed by NFS, mkdir is not
guaranteed to fail if the directory already exists.

-t

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:04 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.