Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2001 07:36:54 -0800 (PST)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        eugen@www.svzserv.kemerovo.su (Eugene Grosbein)
Cc:        rizzo@aciri.org, freebsd-small@FreeBSD.ORG
Subject:   Re: PicoBSD 0.5
Message-ID:  <200102211536.f1LFasB76313@iguana.aciri.org>
In-Reply-To: <20010221191237.B26140@svzserv.kemerovo.su> from Eugene Grosbein at "Feb 21, 2001  7:12:37 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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