Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 1999 10:23:16 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Mike Smith <mike@smith.net.au>, Jaye Mathisen <mrcpu@internetcds.com>, current@FreeBSD.ORG
Subject:   Re: Can the bootloader create a file or set a flag in the bootblocks? 
Message-ID:  <199901151823.KAA01489@dingo.cdrom.com>
In-Reply-To: Your message of "Fri, 15 Jan 1999 19:17:23 %2B0100." <4751.916424243@critter.freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> That particular feature could also be done with "once-persistence"
> as in:  On next reboot load this file...

Sure.  The problem is just implementing any persistence at all.  
Consider that we support the following backing-stores for the kernel:

 - UFS on local disk
 - (V)FAT(32)
 - NFS
 - TFTP
 - iso9660

Obviously we can't write to CDROMs, but a persistence mechanism needs 
to work with each of these others.  I've been leaning towards a very 
simple solution using a small, preallocated file which we just 
overwrite.  It's not beautiful, but it's workable.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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