some problems with nanobsd
Ian Lepore
freebsd at damnhippie.dyndns.org
Wed Oct 17 14:28:29 UTC 2012
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
More information about the freebsd-embedded
mailing list