From owner-freebsd-questions@FreeBSD.ORG Mon Nov 26 15:58:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B45656D for ; Mon, 26 Nov 2012 15:58:00 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id BAA6A8FC15 for ; Mon, 26 Nov 2012 15:57:59 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id qAQFvveq002366 for ; Mon, 26 Nov 2012 15:57:58 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <50B39185.7000309@qeng-ho.org> Date: Mon, 26 Nov 2012 15:57:57 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: When Is The Ports Tree Going To Be Updated? References: <50B2A57A.3050500@tundraware.com> <50B2A8D8.90301@FreeBSD.org> <50B2AA07.8090103@tundraware.com> <201211251856.40381.lumiwa@gmail.com> <50B2BEE1.9030903@tundraware.com> <50B31AAB.6000903@FreeBSD.org> <50B36500.7040308@tundraware.com> <50B377F4.1020507@freebsd.org> <50B38CF8.7060603@freebsd.org> In-Reply-To: <50B38CF8.7060603@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2012 15:58:00 -0000 On 11/26/12 15:38, Matthew Seaman wrote: > On 26/11/2012 15:13, Michael Powell wrote: >> As a result of the security incident I switched away from csup and am now >> using portsnap for ports, and svn for source. The only disconcerting item I >> noticed is the 500-some MB .svn directory now under /usr/src/. > > SVN keeps a 2nd pristine copy of everything you check out in that .svn > directory. It's necessary when you use it for development work, but > otherwise, as you say, a waste of space. > >> Can using freebsd-update for source update(s) eliminate the need for this >> 500MB waste of space? Or is there some switch for svn which could accomplish >> same? > > freebsd-update will have some overhead -- it downloads changesets to > somewhere under /var before expanding them onto the system. I haven't > measured how much this amounts to compared to SVN, but I'd assume if you > limit yourself to updating just the system sources with freebsd-update > then it should use up less space than using SVN. Normally > freebsd-update would have updates to compiled programs as well, which > could move the goalposts significantly. I use freebsd-update just to fetch src rather than do binary updates and I have: fileserver# du -sh /var/db/freebsd-update/ 460k /var/db/freebsd-update/