From owner-freebsd-small Wed Feb 21 7:37: 7 2001 Delivered-To: freebsd-small@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id B9E2437B69B for ; Wed, 21 Feb 2001 07:37:04 -0800 (PST) (envelope-from rizzo@iguana.aciri.org) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1LFasB76313; Wed, 21 Feb 2001 07:36:54 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102211536.f1LFasB76313@iguana.aciri.org> Subject: Re: PicoBSD 0.5 In-Reply-To: <20010221191237.B26140@svzserv.kemerovo.su> from Eugene Grosbein at "Feb 21, 2001 7:12:37 pm" To: eugen@www.svzserv.kemerovo.su (Eugene Grosbein) Date: Wed, 21 Feb 2001 07:36:54 -0800 (PST) Cc: rizzo@aciri.org, freebsd-small@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Tue, Feb 20, 2001 at 11:27:08PM -0800, Luigi Rizzo wrote: > > > I believe the above method is more convenient than the old one (as > > it supports network-loading of the kernel) and it saves some space > > because each file on the floppy consumes a minimum of 512 bytes, > > whereas the corresponding version in MFS can be smaller as the > > padding compresses quite well. > > Yes, but my goal is to make floppy that is very configurable at run time > and capable of saving configuration changes. > For example, I tried to build pico kernel with several drivers for > ISA etherenet cards and use /boot/kernel.conf for tuning (enable/disable etc). > I see that 'update' script will take care of it. > So I made /usr/src/release/picobsd/MY/floppy.tree/boot/kernel.conf, > but it does not go into image. it should be on /fd/boot/kernel.conf -- though i am under the impression that the kernel.conf file must be preloaded by /boot/loader which is not present in picobsd for space reasons. So in order to have a config script one would have to play some trick in /sys/i386/i386/userconfig.c to make it load the config from somewhere -- and i have no idea how to to this in a way that can work from floppy, hd and network. So, for how bad it can be, i believe the only option is to recompile the kernel or free some 100K on the floppy for /boot/loader. cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message