From owner-freebsd-current Mon Feb 9 14:24:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA08155 for current-outgoing; Mon, 9 Feb 1998 14:24:30 -0800 (PST) (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 OAA08112 for ; Mon, 9 Feb 1998 14:24:18 -0800 (PST) (envelope-from abial@korin.warman.org.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with SMTP id XAA29659; Mon, 9 Feb 1998 23:10:53 +0100 (CET) Date: Mon, 9 Feb 1998 23:10:52 +0100 (CET) From: Andrzej Bialecki To: Jim Shankland cc: freebsd-current@FreeBSD.ORG Subject: Re: Custom init(8) (and some ideas) In-Reply-To: <199802091806.KAA18225@biggusdiskus.flyingfox.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, 9 Feb 1998, Jim Shankland wrote: > Andrzej Bialecki writes: > > > On Sun, 8 Feb 1998, Dmitrij Tejblum wrote: > > > Also, (unpacked) .text section of gzipped binaries is not shared among > > > several copies of same program, like in case of normal program. If I > > > understand correctly, this is a big problem for Andrzej, since all his > > > program is crunched together. > > > > Yes, it hurts :-). That's why I conducted several tests with making a > > dynamic crunch, to save at least on libraries. But in reality it proved to > > take more space in case of minimal system .... > > Is all this moot if you don't gzip the binaries (or single, crunched > binary), but instead install the binaries in an MFS in the kernel, > then kzip the kernel? You get the benefit of compression, but the > uncompress is done once, at boot time, so the text section can still > be mmap-ed at exec time. Or does it not work this way? Ahh, well, the life would be SO easy then... Unfortunately, it takes ca. 1/3 more space that way. And this happens to be too much for 1.44MB floppy and 8MB RAM. And these constraints I'm going to keep, so it seems I must live with crunchies for now... This idea occurred to me some time ago, and the above quote depicts my (sad) experiences with it. Andrzej Bialecki ---------------------+--------------------------------------------------------- abial@warman.org.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 current" in the body of the message