From owner-freebsd-small Mon Jul 3 18:59:32 2000 Delivered-To: freebsd-small@freebsd.org Received: from mass.osd.bsdi.com (mg136-135.ricochet.net [204.179.136.135]) by hub.freebsd.org (Postfix) with ESMTP id 9905B37C1DB for ; Mon, 3 Jul 2000 18:59:28 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id TAA00575; Mon, 3 Jul 2000 19:01:48 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200007040201.TAA00575@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Warner Losh Cc: small@FreeBSD.ORG Subject: Re: Optimise for space -Os In-reply-to: Your message of "Fri, 30 Jun 2000 10:04:53 MDT." <200006301604.KAA42085@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Jul 2000 19:01:48 -0700 From: Mike Smith Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message