From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 05:54:03 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 140B716A4CE for ; Wed, 16 Jun 2004 05:54:03 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE16643D5C for ; Wed, 16 Jun 2004 05:54:02 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i5G5qvJ0016828; Tue, 15 Jun 2004 23:52:57 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 15 Jun 2004 23:53:10 -0600 (MDT) Message-Id: <20040615.235310.29962573.imp@bsdimp.com> To: murraytaylor@bytecraftsystems.com From: "M. Warner Losh" In-Reply-To: <20040615.234508.12220305.imp@bsdimp.com> References: <20040616020930.GA72483@freebie.dcfinc.com> <1087357223.35868.4.camel@wstaylorm.dand06.au.bytecraft.au.com> <20040615.234508.12220305.imp@bsdimp.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: chad@dcfinc.com cc: freebsd-small@freebsd.org cc: non_secure@yahoo.com cc: taylorm@bytecraft.au.com 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: Wed, 16 Jun 2004 05:54:03 -0000 In message: <20040615.234508.12220305.imp@bsdimp.com> "M. Warner Losh" writes: : In message: <1087357223.35868.4.camel@wstaylorm.dand06.au.bytecraft.au.com> : Murray Taylor writes: : : On Wed, 2004-06-16 at 12:09, Chad R. Larson 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 : : > > : : > > I have used miniBSD as a firewall box on an Advantech WEB-2143 : : > > quite successfully : : > : : > Another thing to consider is that the FreeBSD 4.x kernel is quite a : : > bit bigger than in the old days. Bloat seems like entropy, : : > inevitable without constant care. Since most embedded systems are : : > not going to need SMP, nor the advanced virtual memory systems (no : : > disk--no swap), you might rather build your system starting with : : > perhaps a 2.2.8 system. : : > : : > -crl : : : : FWIW : : Im using FreeBSD 4.7 in a 32MB Compact Flash card ... : : : : df -h says I'm using 47% of the CF card... : : Bah! I've made 4.5 bootable CF's using only 9MB of my 16MB flash... : 47% of 32 is 15MB :-). Of course that's w/o X. The 3.4 based system : was only about 1MB smaller. : : I do it by not trusting installworld. It installs way too much, so : instead, I have a list of directories to install and a glue script. : I'm currently adapting things to 5.x and hope to make it less TSC : specific. In addition, we try to not install GPL programs, which is harder to do without an explicit list of directories to install.... Hmmm, maybe installworld needs a NO_GPL flag :-) Warner