Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2012 08:28:17 -0600
From:      Ian Lepore <freebsd@damnhippie.dyndns.org>
To:        Jack Mc Lauren <jack.mclauren@yahoo.com>
Cc:        "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org>
Subject:   Re: some problems with nanobsd
Message-ID:  <1350484097.1123.207.camel@revolution.hippie.lan>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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





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