The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Things look quiet here. But I've been doing a lot of blogging at dan.langille.org because I prefer WordPress now. Not all my posts there are FreeBSD related. I am in the midst of migrating The FreeBSD Diary over to WordPress (and you can read about that here). Once the migration is completed, I'll move the FreeBSD posts into the new FreeBSD Diary website.

How to refuse stuff using cvsup 28 January 2000
Share
Need more help on this topic? Click here
This article has no comments
Show me similar articles
If you are cvsup'ing, sometimes you don't want everything.  That's where a refuse file comes in.  This article show how I used a restrict the data transferred.  For more information about cvsup, see the cvsup section of the topics age.
The FAQ is your friend
John Polstra is the gawd of cvsup.  Check his FAQ at http://www.cvsup.org/faq.html, which is where I found the answer for this quest.  It contains a section dedicated to refuse files.
What I didn't want
When I was setting up a mirror, I was concerned about the bandwidth usage as I'm on a pay-by-volume basis.  My first thoughts were to restrict the incoming data to english-only.  So I deicided to avoid the docs, ports, www, and src sections which dealt with other languages.  Here is my refuse file:
# more /usr/local/etc/cvsup/sup.client/refuse
doc/es*
doc/ja*
doc/ru*
doc/zh*
doc/fr*
ports/chinese*
ports/german*
ports/japanese*
ports/korean*
ports/russian*
ports/vietnamese*
www/es*
www/ja*
www/ru*
www/zh*
data/es*
data/ja*
data/ru*
data/zh*
www/data/es*
www/data/ja*
www/data/ru*
www/data/zh*
src/share/doc/es*
src/share/doc/ja*
src/share/doc/ru*
src/share/doc/zh*

The location of the file is important.  The location needed for your situation is explained within the FAQ reference listed above.  I admit I had many problems gettting my refuse file to work.  I attribute that to my not reading the FAQ fully.  Try that first.

Share
Need more help on this topic? Click here
This article has no comments
Show me similar articles