csup & portsnap

z0ran

Member

Reaction score: 1
Messages: 48

I'm going to use -stable and csup, so first i'm going to download "stable-supfile" and for ports tree "ports-supfile."
Now, to download ports-supfile or ports tree i'm going to use:
Code:
 csup -g -L 2 /root/ports-supfile
but, do i use same command for later to update ports tree, or not, it is not realy clear to me like portsnap, portsnap is using fetch, extract and update, for the first time, and later only fetch & update, what about csup..thanks!
 

brd@

Administrator
Staff member
Administrator
Moderator
Developer

Reaction score: 91
Messages: 293

I'd recommend you only use csup for the FreeBSD Sources, i.e. /usr/src. Portsnap is much faster and more efficient than csup on the ports tree.

Using portsnap for the first time you only need to do:
Code:
portsnap fetch extract
The next time that you need to update ports use:
Code:
portsnap fetch update
For csup, you use it just run the same command the first time and every subsequent time:
Code:
csup -g -L2 /root/ports-supfile
 
OP
z0ran

z0ran

Member

Reaction score: 1
Messages: 48

brd@, thank you very much for your explanation, i'm going to use your advice and stick at portsnap. :)
The reason i was going to use csup for updating ports is that i was thinking csup is better for -stable branch....i was reading somewhere or...i'm not sure, anyway, thanks one more time!
 

r-c-e

Member

Reaction score: 5
Messages: 51

In a multi server environment I prefer to cvsup/portsnap to one server and then rsync o he rest, MUCH faster.
 

ale

Daemon

Reaction score: 166
Messages: 1,059

z0ran said:
The reason i was going to use csup for updating ports is that i was thinking csup is better for -stable branch
There is just one branch for ports.
 
Top