From owner-freebsd-embedded@FreeBSD.ORG Wed Oct 17 14:28:29 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81587BF4 for ; Wed, 17 Oct 2012 14:28:29 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id BC7FF8FC0A for ; Wed, 17 Oct 2012 14:28:28 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9HESLcJ023696 for ; Wed, 17 Oct 2012 08:28:22 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q9HESHT4089959; Wed, 17 Oct 2012 08:28:17 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: some problems with nanobsd From: Ian Lepore To: Jack Mc Lauren In-Reply-To: <1350474956.88226.YahooMailNeo@web126001.mail.ne1.yahoo.com> References: <1350471464.96400.YahooMailNeo@web126006.mail.ne1.yahoo.com> <507E9077.6000207@farrokhi.net> <1350474085.65221.YahooMailNeo@web126004.mail.ne1.yahoo.com> <1350474956.88226.YahooMailNeo@web126001.mail.ne1.yahoo.com> Content-Type: text/plain; charset="us-ascii" Date: Wed, 17 Oct 2012 08:28:17 -0600 Message-ID: <1350484097.1123.207.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2012 14:28:29 -0000 On Wed, 2012-10-17 at 04:55 -0700, Jack Mc Lauren wrote: > the other problem is that whether i have lots of WITHOUT options or a few , volume of _.disk.full is about 600MB. what should i do in order to have a very light image? what options should i set ? What you can leave off depends on what you'll do with the resulting system, of course. For our embedded products we use most of the same NO_foo and WITHOUT_foo options you have, but we also use a few that are missing from your list: WITHOUT_CLANG WITHOUT_GNU WITHOUT_HTML WITHOUT_OBJC WITHOUT_SHAREDOCS WITHOUT_SENDMAIL WITHOUT_PROFILE The other thing we do is specify an explicit list of directories to visit and run 'make install' during the installworld; this lets us control things that have no WITHOUT knobs. I don't know if nanobsd allows that level of customization (we don't use it to build products). We deploy systems whose image fits in less than 100MB of disk space, sometimes less than 64MB, but they aren't general-purpose computers with all the commands you'd expect to find in a full unix environment. They are very much dedicated-purpose black boxes containing just what's needed to do their jobs. -- Ian