From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 13:49:25 2005 Return-Path: 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 C84ED16A4CE for ; Thu, 28 Apr 2005 13:49:25 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 444C143D1D for ; Thu, 28 Apr 2005 13:49:22 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j3SDm4oP010835 for ; Thu, 28 Apr 2005 16:48:04 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) j3SDnKuR026739 for ; Thu, 28 Apr 2005 16:49:20 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)j3SDnJ75026717 for freebsd-questions@freebsd.org; Thu, 28 Apr 2005 16:49:19 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 28 Apr 2005 16:49:19 +0300 From: Giorgos Keramidas To: freebsd-questions@freebsd.org Message-ID: <20050428134919.GA11367@orion.daedalusnetworks.priv> References: <20050428032910.62902.qmail@web54009.mail.yahoo.com> <20050428133031.GA90044@keyslapper.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050428133031.GA90044@keyslapper.net> Subject: Re: How to get rid of games ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 13:49:26 -0000 On 2005-04-28 09:30, Louis LeBlanc wrote: >On 04/27/05 08:29 PM, Rob sat at the `puter and typed: >> Anyway, I'd like to get rid of all the games stuff. >> I'll add "NOGAMES=true" in /etc/make.conf, which will >> prevent compiling & installing games for a new build >> + install world. >> >> However, what was already there, remains there after >> a new install world; and I'd like to remove those >> games files & directories. >> >> I don't like to roam around the system as root and >> type "rm -rf" here and there, without being very >> sure it can go. > > Very wise. This I say from experience. And always be careful with > wildcard deletes. Fatfingering a space between your pattern and a '*' > can be disastrous, even as a regular joe user. :( The best way to make changes like this to an already installed system __and__ be certain there are no leftover files is to use a second partition as an installworld area, boot into the second partition, clean the first partition (newfs?) and then install again the new, minimal world to the initial partition. It does require a lot of extra space (around 180 MB for a full installworld of the base system in FreeBSD 6.0-CURRENT), but if you are really determined to trim the base system to the exact specifications you have in mind, it's the best way I know of. The ``FreeBSD from Scratch'' article in the documentation set describes how this can be done, in a lot more detail than I can write in a single email message: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/