From owner-freebsd-questions@FreeBSD.ORG Wed Mar 29 06:49:31 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 7EB0F16A400 for ; Wed, 29 Mar 2006 06:49:31 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C0D543D4C for ; Wed, 29 Mar 2006 06:49:30 +0000 (GMT) (envelope-from illoai@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so82651wxc for ; Tue, 28 Mar 2006 22:49:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rNwrgmIsG/3usslKqarBY9wG4zZYWq/1BmehhrFNWvWhA6AJ1a7gTAA16gMff3XzbWYQffEZ/nLW207BGxvi7oNM2Xs5+KodFM36oPYyEF7jXLrlYcyHj5Z24YsyB4agyNufWR+L6kTaPlR+NwyoNi8+drs49gnD6Vk4l7BE7uk= Received: by 10.70.16.13 with SMTP id 13mr221041wxp; Tue, 28 Mar 2006 22:49:30 -0800 (PST) Received: by 10.70.58.15 with HTTP; Tue, 28 Mar 2006 22:49:30 -0800 (PST) Message-ID: Date: Wed, 29 Mar 2006 00:49:30 -0600 From: "illoai@gmail.com" To: "Graham North" In-Reply-To: <442A1692.3040805@shaw.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <442A1692.3040805@shaw.ca> Cc: freebsd-questions@freebsd.org Subject: Re: How to clear userland? 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: Wed, 29 Mar 2006 06:49:31 -0000 On 3/28/06, Graham North wrote: > Is there a nice tidy way to clear my userland - CLEAN without > jeopardizing or reloading the OS? pkg_delete -a should get rid of anything not in the base system. alternately, deleting /usr/local and /usr/X11R6 will remove it pretty quickly, as well. though one would have to check for things started in /etc/rc.conf Unlike certain operating systems, the bloat doesn't do much except take up drive space if you're not actually running the stuff in the bloat. Make the locate database build a tiny bit slower, I suppose. rock the bloat/don't rock the bloat You can rebuild the base system from scratch by following the whole cvsup, buildworld, kernel business. Note what can be not installed in /etc/make.conf (I think you still have a partial reference living in /etc/defaults/make.conf on 4.11, though I may have forgotten.) -- --