Date: Sun, 13 Jan 2002 12:32:45 -0700 (MST) From: "M. Warner Losh" <imp@village.org> To: eugen@grosbein.pp.ru Cc: small@FreeBSD.ORG Subject: Re: Small FreeBSD but not crunched Message-ID: <20020113.123245.33242915.imp@village.org> In-Reply-To: <20020114020306.A5954@grosbein.pp.ru> References: <20020114020306.A5954@grosbein.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20020114020306.A5954@grosbein.pp.ru>
Eugene Grosbein <eugen@grosbein.pp.ru> writes:
: It is possible to install small world using /etc/make.conf's features
: line NO_SENDMAIL=true etc. I can make ~67Mb world with 4.5RC1 and
: it can be easily stripped to <50Mb by removing static libs etc. Very good.
Just installing what you need can get you down to about 6.5MB with the
stock /etc/rc files working, but that can be stripped a little more if
you write custom rc files.
: So the question is: how can I reduce kernel (and kernel memory),
: are there some 'hidden' options not mentioned in LINT?
: Using 2.2.x is not an option when I need dummynet with WF2Q.
Find the largest .o that you have, and optimize it. I know that this
is harder than just adding options, but it likely is the only way in
your extremely constrained memory setup.
Warner
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020113.123245.33242915.imp>
