Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2000 19:01:48 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Warner Losh <imp@village.org>
Cc:        small@FreeBSD.ORG
Subject:   Re: Optimise for space -Os 
Message-ID:  <200007040201.TAA00575@mass.osd.bsdi.com>
In-Reply-To: Your message of "Fri, 30 Jun 2000 10:04:53 MDT." <200006301604.KAA42085@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007040201.TAA00575>