From owner-freebsd-small Tue Jul 4 8:30:22 2000 Delivered-To: freebsd-small@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id 8E00A37B9C2; Tue, 4 Jul 2000 08:30:15 -0700 (PDT) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id 06CD82DC0A; Tue, 4 Jul 2000 17:35:55 +0200 (CEST) Received: by mx.webgiro.com (Postfix, from userid 1001) id BF5E67817; Tue, 4 Jul 2000 17:28:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id BAEC210E17; Tue, 4 Jul 2000 17:28:31 +0200 (CEST) Date: Tue, 4 Jul 2000 17:28:31 +0200 (CEST) From: Andrzej Bialecki To: Mike Smith Cc: Warner Losh , small@FreeBSD.ORG Subject: Re: Optimise for space -Os In-Reply-To: <200007040201.TAA00575@mass.osd.bsdi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 3 Jul 2000, Mike Smith wrote: > > In message <200006301558.RAA51887@info.iet.unipi.it> Luigi Rizzo writes: > > : mumble... this is not my figure. I think it is more in the range of 70KB > > : when you remove the forth stuff from the loader and the associated > > : config files. > > > > Right now /boot/loader is 159k, plus another 7k for the loader.conf > > file and 5k for theloader.4th file and 12k for the loader.help file > > and 25k for the support.4th, so that's more like 208k. But I don't > > know how PicoBSD does this in 4.x. > > You want to drop all of the filesystems you're not using (eg. drop the > FAT filesystem at 5k), and definitely not build Forth into your loader > (about 70k) unless you need it. > > There was also some work done on making the loader self-uncompressing, > which would cut it almost in half sizewise again; we've been trying to > get this code out of Robert Nordier, but he's been very quiet of late. This code is in the tree, and I use it... :-) `/usr/bin/kzip loader` Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message