From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 08:00:23 2004 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B41116A4D0 for ; Tue, 15 Jun 2004 08:00:23 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 653CE43D45 for ; Tue, 15 Jun 2004 08:00:22 +0000 (GMT) (envelope-from klaudiu@terrasat.ro) Received: (qmail 15200 invoked by uid 89); 15 Jun 2004 07:58:47 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 15 Jun 2004 07:58:47 -0000 Received: (qmail 20465 invoked from network); 15 Jun 2004 07:46:18 -0000 Received: from unknown (HELO terrasat.ro) (81.196.205.202) by mail.rdsnet.ro with SMTP; 15 Jun 2004 07:46:18 -0000 Message-ID: <40CEA91C.2010301@terrasat.ro> Date: Tue, 15 Jun 2004 10:45:32 +0300 From: Claudiu Chirita User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Francois Tigeot References: <1087259406.34774.16.camel@wstaylorm.dand06.au.bytecraft.au.com> <20040615040428.27513.qmail@web53301.mail.yahoo.com> <20040615073217.GA20038@aoi.wolfpond.org> In-Reply-To: <20040615073217.GA20038@aoi.wolfpond.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-small@freebsd.org Subject: Re: Paring down a FreeBSD system for flash drive use ? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 08:00:23 -0000 I think you need this: http://www.thinbsd.org/ Francois Tigeot wrote: > On Mon, Jun 14, 2004 at 09:04:28PM -0700, Joe Schmoe wrote: > >>Murray Taylor wrote: >>Google for minibsd >> >>http://neon1.net/misc/minibsd.html >> >>Thanks - this is interesting. However, this is still somewhat of a brute force method for piecing things together - I thought there was some kind of elegant mechanism where you could edit make.conf or something, so that when you did a make world, it would skip the components that you didn't want to - and you could control it with much more granularity than you can in the custom menu in sysinstall ... does this sound familiar at all ? >> >>That is, forget that I am doing solid state / flash at all - what is the correct way to install FreeBSD without things like ppp, isdn, and other pieces of the _base_ system that you don't want ? > > > You have to edit /etc/make.conf and add NO_xxx lines in it (look in > /usr/share/examples/etc/make.conf). > > In addition, I use custom CFLAGS when possible. Sometimes -Os produces > broken code (X11 comes to mind). > > My /etc/make.conf looks like this: > > CFLAGS=-Os -march=c3 -fno-strict-aliasing -pipe > NO_ACPI=yes > NO_CVS=true > [more NO_xxx lines] > > I then install the new world in a separate directory: > > make world DESTDIR=/itx > > But even though this procedure gives a minimal system, it is too big > for my requirements (FreeBSD + X11 + rdesktop in 16MB). I am still forced > to pick and choose components by hand. >