From owner-freebsd-questions@FreeBSD.ORG Sun Jan 6 15:11:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCBD516A418 for ; Sun, 6 Jan 2008 15:11:50 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 5B44A13C45D for ; Sun, 6 Jan 2008 15:11:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id CAA29303; Mon, 7 Jan 2008 02:11:24 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 7 Jan 2008 02:11:23 +1100 (EST) From: Ian Smith To: "Aryeh M. Friedman" In-Reply-To: <20080106112937.6C63116A4CD@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Michael Lednev , freebsd-questions@freebsd.org, Rudy Subject: Re: [HOW-TO] cvsup for ports -- Re: compact portsnap db X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2008 15:11:50 -0000 On Sat, 05 Jan 2008 22:31:29 "Aryeh M. Friedman" wrote: > Rudy wrote: > > Michael Lednev wrote: > >> Hello. > >> > >> Is there any way to compact /var/db/portsnap other than deleting > >> it and doing postsnap fetch? Not really. /var/db/portsnap/files contains one file for each port, gzipped. Mine's about 70MB with indices, containing a ports tree of some 450MB. I guess it depends whether that much space is more precious to you than the time and bandwidth to fetch and then extract the whole tree afresh? > > I don't like portsnap -- granted I've never typed the portsnap > > command in my 10 years of FreeBSD use. I use cvsup! I didn't like it much until I'd tried it, either :) c[v]sup works fine too of course, so trimming some discussion of that .. [..] > > If you don't have cvsup installed, run this command: # pkg_add -r > > cvsup-without-gui > > It is better to use all ports or all packages so either do: Why do you say that? Do you know of unresolved issues regarding the interactions of port versus package installations? Any references? > cd /usr/ports/net/cvsup-without-gui > make install clean > > or after doing the above do a pkg_delete -a (assuming that your > working with a clean machine [no ports/packages instaleld except cvsup] Why wouldn't pkg_delete -a remove your just-installed cvsup-without-gui? > > For more info on the supfile, look at this file on your FreeBSD > > machine: /usr/share/examples/cvsup/ports-supfile > > > > Preferring cvsup to portsnap is kinda like preferring vim over > > emacs... It's a holy war and the vi/cvsup side uses less disk > > space. > > Actually it is not like that at all.. cvsup/csup is the officially > preferred method and any other method is a short cut of some kind... Please provide a reference URL to 'official' support of this claim? > many of them have very subtle issues that the typical end-user should > not notice but should be aware of... Issues such as? And what other alternatives to c*sup and portsnap exist for ports tree management? ooroo, Ian