Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2005 16:49:19 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to get rid of games ?
Message-ID:  <20050428134919.GA11367@orion.daedalusnetworks.priv>
In-Reply-To: <20050428133031.GA90044@keyslapper.net>
References:  <20050428032910.62902.qmail@web54009.mail.yahoo.com> <20050428133031.GA90044@keyslapper.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-04-28 09:30, Louis LeBlanc <FreeBSD@keyslapper.net> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050428134919.GA11367>