Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 1999 18:11:05 +1300
From:      "Dan Langille" <junkmale@xtra.co.nz>
To:        Roelof Osinga <roelof@eboa.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: CVSup: a newbie's tale.
Message-ID:  <19990309051148.IOEX682101.mta1-rme@wocker>
In-Reply-To: <36E45B33.CD6E4F92@eboa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Please note: I've only been using cvsup for less than two months, so the 
information contained below may very well be incorrect.  But it's what I 
believe.  Others more experienced than I will hopefully correct it for me. 
 And for that I am thankful.

On 9 Mar 99, at 0:20, Roelof Osinga wrote:

> root:/usr/local/etc/cvsup# ls -la
> total 2
> drwxr-xr-x  2 root  wheel  512 Mar  8 03:52 .
> drwxr-xr-x  9 root  wheel  512 Mar  8 03:18 ..
> lrwxr-xr-x  1 root  wheel   39 Mar  8 03:52 ports-supfile -> /usr/share/
> examples/cvsup/ports-supfile
> lrwxr-xr-x  1 root  wheel   47 Mar  8 03:49 secure-stable-supfile ->
> /usr/share/
> examples/cvsup/secure-stable-supfile
> lrwxr-xr-x  1 root  wheel   40 Mar  8 03:28 stable-supfile ->
> /usr/share/example
> s/cvsup/stable-supfile
> 
> I ran cvsup and made world. Since there's hardly anything in it is it 
> because it gets used for temporary storage? Also I did not change
> the base directory. So if any "data is actually stored" where did it
> go? (apart from /usr/src of course).

As far as I can tell, the symbolic links are there so you can put the 
actual files anywhere you want.  In the above case, under /usr/share.  It 
means that the software has a predefined link but allows you the 
flexibility of putting the actualy files somewhere else.

> Also, you did not change the base directory, you filled it with 
> symbolic links.

I didn't fill it with symbolic links.  The installation program did that.

> Hm. Or could it be that /usr/local/etc/cvsup is not its default
> base directory? In which case, what is. Can't remember having seen
> it anywhere.

Sorry, I don't know.

> Also "I changed the base directory where the status files will 
> be maintained." is ambiguous. Status files instead of control files
> or configuration files could mean that it is the cvsup program
> that does the maintaining. Personally I would prefer the sentence
> to read "where the configuration files will be maintained". That
> would more clearly indicate it is *you* that will be doing the
> maintaining. As usual <g>.

Ummm, it's not *you* doing the maintaining.  It is cvsup.  I think the 
cvsup client keeps track of what files it has and compares that to what 
files the cvsup server has.  It is those "status files" which are 
"maintained" in the "base directory".  These terms, I believe, are cvsup 
terms, not something I made up.

> I guess this is a case where I expected all kinds of interesting
> magic to occur, whereas we in fact are talking not so much about
> the base directory as something where all kinds of files and statusses
> (states) get maintained but simply a place to store some cvsup.conf
> and nothing more. Would make sense under an /etc. Thus not the base
> of operations for cvsup, but merely the location of its configuration
> files? Bit of an anti-climax then <g>.

But there is a cvup.conf file in that directory.  See config.sh which 
defines the server you will get the files from.  It also contains the sup 
files for crypto and non-crypto.

Hope this helps.

--
Dan Langille
The FreeBSD Diary
http://www.FreeBSDDiary.com/freebsd


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990309051148.IOEX682101.mta1-rme>