From owner-freebsd-questions@FreeBSD.ORG Tue Apr 4 18:45:28 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1EF516A400 for ; Tue, 4 Apr 2006 18:45:28 +0000 (UTC) (envelope-from lars@gmx.at) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1725343D46 for ; Tue, 4 Apr 2006 18:45:27 +0000 (GMT) (envelope-from lars@gmx.at) Received: (qmail invoked by alias); 04 Apr 2006 18:45:26 -0000 Received: from 62-132.1-85.cust.bluewin.ch (EHLO [192.168.1.10]) [85.1.132.62] by mail.gmx.net (mp033) with SMTP; 04 Apr 2006 20:45:26 +0200 X-Authenticated: #912863 Message-ID: <4432BED2.9090400@gmx.at> Date: Tue, 04 Apr 2006 20:45:38 +0200 From: Lars Cleary User-Agent: Thunderbird 1.5 (X11/20060203) MIME-Version: 1.0 CC: freebsd-questions References: <51257d370604041131v3a171495v24424fe3cc004f2a@mail.gmail.com> In-Reply-To: <51257d370604041131v3a171495v24424fe3cc004f2a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Cvsup & installworld process question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lars@gmx.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 18:45:29 -0000 Bryan Curl wrote: > Hopefully this is right place for my question and not to redundant. > > I have a new minimalist installation for use as a file server only (FreeBSD > 6.0-RELEASE) with a very small set of ports installed. Basically Samba, > Cvsup,man files, ports, all the source and their dependencies. I am > primarily interested in keeping the system up to date with security patches, > system updates, and of course, the ports I run. I want to optimize the > amount of disk space for the public shares so I don't want to arbitrarily > install a lot of programs I don't need. > > My question is, > 1.) If I CVSUP SRC-ALL, 'make buildworld', 'make installworld' etc, will > that install the entire source tree to my machine and eat up disk space > unnecessarily? In other words do I need to weed out all but the basic > components I want before make installworld? > 2.) What branches of the source tree would I be required to keep up to date > for my minimal installation? > > I realized in testing on an older system that portupgrade will only install > ports I am using but don't know if make installworld will do the same. Check man make.conf(5) to set which parts of /usr/src you don't want compiled by buildworld, see also /usr/share/examples/etc/make.conf for more explanations. Check man cvsup(1) to set which parts of the /usr/src you don't want updated by cvsup, see also /usr/share/examples/cvsup/refuse.README for more explanations. HTH Lars