From owner-freebsd-questions Mon Mar 8 21:11:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mta1-rme.xtra.co.nz (mta.xtra.co.nz [203.96.92.1]) by hub.freebsd.org (Postfix) with ESMTP id 016471503E for ; Mon, 8 Mar 1999 21:11:23 -0800 (PST) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.210.87]) by mta1-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990309051148.IOEX682101.mta1-rme@wocker>; Tue, 9 Mar 1999 18:11:48 +1300 From: "Dan Langille" Organization: The FreeBSD Diary To: Roelof Osinga Date: Tue, 9 Mar 1999 18:11:05 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: CVSup: a newbie's tale. Reply-To: junkmale@xtra.co.nz Cc: freebsd-questions@FreeBSD.ORG In-reply-to: <36E45B33.CD6E4F92@eboa.com> X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990309051148.IOEX682101.mta1-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 . 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 . 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