[Top][All Lists]

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

Re: Resonable Place for LockFiles?

From: Larry Jones
Subject: Re: Resonable Place for LockFiles?
Date: Wed, 5 Dec 2001 11:14:01 -0500 (EST)

Janning Vygen writes:
> What is a reasonable place for LockDir Directive in CVSROOT/Config??
> Can i put it anywhere in the filesystem?? Should i put it outside of 
> the repository? Can I just say LockDir=CVSROOT/LockDir which seems to 
> me a reasonable place. any hints?

You can put it anywhere you like.  Since users are constantly creating
and deleting files and directories in it and there's no need to preserve
it across a system shutdown (or crash), you can significantly improve
CVS performance by putting it on an in-memory (or at least asynchronous)
filesystem if you have one.  On many systems, somewhere in /tmp is a
good choice.  You should not put it inside the repository lest someone
accidentally (or intentionally) try to put regular files in it.

-Larry Jones

It's clear I'll never have a career in sports until I learn
to suppress my survival instinct. -- Calvin

reply via email to

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