From owner-freebsd-current@FreeBSD.ORG Tue Jan 31 15:19:15 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 249991065672; Tue, 31 Jan 2012 15:19:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id F17448FC17; Tue, 31 Jan 2012 15:19:14 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id A88CC46B0D; Tue, 31 Jan 2012 10:19:14 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 0843FB958; Tue, 31 Jan 2012 10:19:14 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 31 Jan 2012 10:06:44 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120130195721.GA14612@sandvine.com> In-Reply-To: <20120130195721.GA14612@sandvine.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201201311006.44546.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 31 Jan 2012 10:19:14 -0500 (EST) Cc: Ed Maste Subject: Re: [patch] nextboot(8) arbitrary kernel environment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2012 15:19:15 -0000 On Monday, January 30, 2012 2:57:22 pm Ed Maste wrote: > I have a patch to allow nextboot(8) to set arbitrary kernel environment > variables (not just the kernel dir and kernel_options). The usage becomes: > > Usage: nextboot [-e variable=value] [-f] [-k kernel] [-o options] > nextboot -D > > and the new option is documented as: > > -e variable=value > This option adds the provided variable and value to the ker- > nel environment. The value is quoted when written to the > nextboot configuration. > > The patch also makes -k an option (no longer mandatory). The patch is at > http://people.freebsd.org/~emaste/nextboot.diff . I'll commit it in a few > days if no concerns are raised by review or my testing. Nice! I like both of these features. -- John Baldwin