info-cvs
[Top][All Lists]
Advanced

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

Re: Creating a new repository if one already exist


From: Larry Jones
Subject: Re: Creating a new repository if one already exist
Date: Tue, 19 Mar 2002 14:29:13 -0500 (EST)

Anette Van Der Schyf writes:
> 
> Our repository name is cvsdata. Now, I created a folder called metadata on
> the same level in the directory structure as cvsdata. But because of disc
> space
> initialized metadata as follows:
> 
> cvs -d /cvsdata/metadata

That's not the same level as cvsdata, it's inside cvsdata!  Having one
repository inside another repository is hightly questionable at best.

> cvspserver    stream   tcp    nwait.400    root          /usr/sbin/tcpd
> /usr/bin/cvs -b   /usr/bin --allow-root=/cvsdata pserver
> 
> I added the following line to make provision for the new repository:
> 
> cvspserver      stream  tcp     nowait.400      root    /usr/sbin/tcpd
> /usr/bin/cvs -b /usr/bin --allow-root=/cvsdata/metadata

Well, there are a couple of problems there.  You forgot the "pserver" at
the end of the new line, but that doesn't really matter because you
can't have two entries for the same service.  Get rid of the new line
and just add another --allow-root= option to the original line.

Also, unless you're running a really old version of CVS, the "-b
/usr/bin" is completely ignored, but you do need a -f option.  So, what
you want is something like:

cvspserver stream tcp nwait.400 root /usr/sbin/tcpd /usr/bin/cvs -f 
--allow-root=/cvsdata --allow-root=/cvsdata/metadata pserver

-Larry Jones

This sounds suspiciously like one of Dad's plots to build my character.
-- Calvin



reply via email to

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