From owner-freebsd-current Tue Jul 7 00:59:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA17312 for freebsd-current-outgoing; Tue, 7 Jul 1998 00:59:28 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA17307 for ; Tue, 7 Jul 1998 00:59:21 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with SMTP id KAA22514; Tue, 7 Jul 1998 10:01:45 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Tue, 7 Jul 1998 10:01:45 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Mike Smith cc: freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD in less than 4MB RAM In-Reply-To: <199807061550.IAA03457@antipodes.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 6 Jul 1998, Mike Smith wrote: > > Hi, > > > > This is slightly more general question than in the Subject. > > > > First issue is: what would it take to squeeze any useful combination of > > kernel, init plus two-three (small) user programs in 4MB? Which > > (dispensable) parts of the kernel require so much space? After removing > > all I could think of (leaving FFS, fd0, and ed0, though) the kernel size > > is still about 700kB big, and quite another question is how this > > translates into running size... > > try "du *.o | sort -n" in your compile directory. I did (Soren can be proud - he wins with syscons.o :-), but this really doesn't tell anything about _running_ sizes of various data structures... Andrzej Bialecki --------------------+--------------------------------------------------------- abial@nask.pl | if(halt_per_mth > 0) { fetch("http://www.freebsd.org") } Research & Academic | "Be open-minded, but don't let your brains to fall out." Network in Poland | All of the above (and more) is just my personal opinion. --------------------+--------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message