Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2002 16:19:17 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        p d <pddeals@yahoo.com>
Cc:        Kris Kennaway <kris@obsecurity.org>, freebsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: decompressing executable before using
Message-ID:  <20020618211917.GE84123@dan.emsphone.com>
In-Reply-To: <20020618211038.84849.qmail@web14707.mail.yahoo.com>
References:  <20020618202458.GB84123@dan.emsphone.com> <20020618211038.84849.qmail@web14707.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 18), p d said:
> Hi!
>    I did look at picoBSD ... but the problem is I have
> to use the freebsd that comes with a software I am
> planning to run .. its a caching software ... so at
> the most I can recompile the kernel ... or strip down
> the system ... I did get it down to 170M ... but I
> have to fit it on a 128M flash ... so I was thinking
> if the libraries and the executables get compressed
> ... it might do the job ... 

You should be able to fit a minimal FreeBSD install in under 100 MB
easily.  Install only /bin, /sbin, /etc, /usr/{bin,sbin,lib,libexec},
then rip out stuff you don't need.  You can probably get rid of 2 dozen
files in /bin and /sbin and free up 5 MB; same for lib and libexec. 
Remove all static libs, remove gcc, perl, etc etc.

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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