Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2000 18:12:54 +0200 (CEST)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        Warner Losh <imp@village.org>
Cc:        Doug White <dwhite@resnet.uoregon.edu>, Roger Hardiman <roger@cs.strath.ac.uk>, small@FreeBSD.ORG
Subject:   Re: Optimise for space -Os
Message-ID:  <200006301612.SAA51979@info.iet.unipi.it>
In-Reply-To: <200006301604.KAA42085@harmony.village.org> from Warner Losh at "Jun 30, 2000 10:04:53 am"

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.

On 3.4 (and the same is in 4.x i think) i removed the forth stuff from
the loader, and then you don't need all the config files, just a 3-4
line thing (same as Greg did) to load kernel mfsroot and then boot.

So i have

    > ls -l /boot/loader
    -r-xr-xr-x  1 root  wheel  131072 Dec 30  1999 /boot/loader
    > (cd  /usr/src/release/picobsd/build; ls -l /loader )
    -rwxr-xr-x  1 root  luigi  53754 Jun 14 17:37 loader

(with the second one being used in the picobsd disk).
Assuming the 20% bloat in 4.0 there you are with 70KB (and i
suppose some of the size increase in 4.x is due to more
functionalities put into the forth stuff).

	cheers
	luigi
-----------------------------------+-------------------------------------
  Luigi RIZZO, luigi@iet.unipi.it  . Dip. di Ing. dell'Informazione
  http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)
  Mobile   +39-347-0373137
-----------------------------------+-------------------------------------

> 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?200006301612.SAA51979>