From owner-freebsd-hackers Thu Oct 8 13:37:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14244 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 13:37:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14229 for ; Thu, 8 Oct 1998 13:37:04 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id NAA00478; Thu, 8 Oct 1998 13:41:38 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810082041.NAA00478@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Chris Csanady cc: freebsd-hackers@FreeBSD.ORG Subject: Re: new bootloader suggestions.. In-reply-to: Your message of "Thu, 08 Oct 1998 11:36:24 CDT." <199810081636.LAA00404@friley-185-114.res.iastate.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 13:41:38 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I was wondering if we could make the environment of the new > boot loader non-volatile. It seems as though variables > that you set at boot should stick around. Could we > possibly have a /boot/environment or something similar > where the variables are actually written back? Sure. I have (uncommitted) code that gives you access to the kernel environment, along with a sysctl to extract it. You could easily write it back and source it in. > Although it is nice to support script type files, for most > usage I would rather have the typical console like behavior. Understood. How about a patch to boot/common/interp.c to teach it how to do the reading side? I'll get the kernel stuff committed soon. -- \\ 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-hackers" in the body of the message