From owner-freebsd-small@FreeBSD.ORG Fri Mar 12 12:49:58 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 67B5216A4CE; Fri, 12 Mar 2004 12:49:58 -0800 (PST) Received: from cimlogic.com.au (adsl-20-121.swiftdsl.com.au [218.214.20.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C14343D2D; Fri, 12 Mar 2004 12:49:57 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: from cimlogic.com.au (localhost.cimlogic.com.au [127.0.0.1]) by cimlogic.com.au (8.12.11/8.12.11) with ESMTP id i2CKndVN033107; Sat, 13 Mar 2004 07:49:39 +1100 (EST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.12.11/8.12.11/Submit) id i2CKna3F033106; Sat, 13 Mar 2004 07:49:36 +1100 (EST) (envelope-from jb) Date: Sat, 13 Mar 2004 07:49:34 +1100 From: John Birrell To: "M. Warner Losh" Message-ID: <20040313074934.Z234@freebsd3.cimlogic.com.au> References: <20040310113611.GA1241@abigail.blackend.org> <40928.1078919852@critter.freebsd.dk> <20040311.154358.112813557.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20040311.154358.112813557.imp@bsdimp.com>; from imp@bsdimp.com on Thu, Mar 11, 2004 at 03:43:58PM -0700 cc: phk@phk.freebsd.dk cc: small@freebsd.org cc: current@freebsd.org Subject: Re: "nanobsd" prototype 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: Fri, 12 Mar 2004 20:49:58 -0000 On Thu, Mar 11, 2004 at 03:43:58PM -0700, M. Warner Losh wrote: > In message: <40928.1078919852@critter.freebsd.dk> > "Poul-Henning Kamp" writes: > : Not long ago I manually cut down a -current to run in 32MB but I > : admit that there were a fair bit of stuff missing :-) > > FreeBSD 4.5 can be cut down to about 8MB or so, but 5 likely can't go > below about 12-15MB without a lot of pain. Just a note for the benefit of others interested in this topic... Both 4.X and 5 can be cut down more than that for highly embedded systems which aren't intended to offer Unix functionality (like sh, login, etc) and are dedicated to some task. I have systems that fit in 1MB of flash. These contain only a kernel and a (replacement program for) init(8). The kernel config file for these is typically less than 10 lines long. I guess that qualifies as "more than a fair bit of stuff missing". Like most of it. 8-) -- John Birrell