From owner-freebsd-small Sun Jan 13 11:33:20 2002 Delivered-To: freebsd-small@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 9B78B37B416 for ; Sun, 13 Jan 2002 11:33:18 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g0DJXHl04684; Sun, 13 Jan 2002 12:33:17 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g0DJXGx68320; Sun, 13 Jan 2002 12:33:16 -0700 (MST) (envelope-from imp@village.org) Date: Sun, 13 Jan 2002 12:32:45 -0700 (MST) Message-Id: <20020113.123245.33242915.imp@village.org> To: eugen@grosbein.pp.ru Cc: small@FreeBSD.ORG Subject: Re: Small FreeBSD but not crunched From: "M. Warner Losh" In-Reply-To: <20020114020306.A5954@grosbein.pp.ru> References: <20020114020306.A5954@grosbein.pp.ru> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020114020306.A5954@grosbein.pp.ru> Eugene Grosbein 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