Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2004 07:49:34 +1100
From:      John Birrell <jb@cimlogic.com.au>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        current@freebsd.org
Subject:   Re: "nanobsd" prototype
Message-ID:  <20040313074934.Z234@freebsd3.cimlogic.com.au>
In-Reply-To: <20040311.154358.112813557.imp@bsdimp.com>; from imp@bsdimp.com on Thu, Mar 11, 2004 at 03:43:58PM -0700
References:  <20040310113611.GA1241@abigail.blackend.org> <40928.1078919852@critter.freebsd.dk> <20040311.154358.112813557.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 11, 2004 at 03:43:58PM -0700, M. Warner Losh wrote:
> In message: <40928.1078919852@critter.freebsd.dk>
>             "Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
> : Not long ago I manually cut down a -current to run in 32MB but I
> : admit that there were a fair bit of stuff missing :-)
> 
> FreeBSD 4.5 can be cut down to about 8MB or so, but 5 likely can't go
> below about 12-15MB without a lot of pain.

Just a note for the benefit of others interested in this topic...
Both 4.X and 5 can be cut down more than that for highly embedded
systems which aren't intended to offer Unix functionality (like
sh, login, etc) and are dedicated to some task.

I have systems that fit in 1MB of flash. These contain only a kernel
and a (replacement program for) init(8). The kernel config file for
these is typically less than 10 lines long. I guess that qualifies
as "more than a fair bit of stuff missing". Like most of it. 8-)

-- 
John Birrell



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