From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 26 14:48:11 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F42B106566B; Mon, 26 Mar 2012 14:48:11 +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 219118FC1C; Mon, 26 Mar 2012 14:48:11 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id C893A46B3B; Mon, 26 Mar 2012 10:48:10 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 2838CB940; Mon, 26 Mar 2012 10:48:10 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 26 Mar 2012 10:18:53 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120325.184917.751.1@DOMY-PC> In-Reply-To: <20120325.184917.751.1@DOMY-PC> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201203261018.53717.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 26 Mar 2012 10:48:10 -0400 (EDT) Cc: rank1seeker@gmail.com, hackers@freebsd.org Subject: Re: Active slice, only for a next boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2012 14:48:11 -0000 On Sunday, March 25, 2012 2:49:17 pm rank1seeker@gmail.com wrote: > After having a thought about this issue and also currently looking at a BootEasy boot manager ... > 'boot0cfg' is almost perfect for this task and should/could be "exploited". > > It's '-o noupdate' already does a major task, of keeping main slice active. > Now all we need is a flag, through which we specify slice to boot (replacing human presing button). > From that point on, existing code simply proceeds with received value. > > '-o noupdate' ensures next boot will bring up main/active slice. You mean like 'boot0cfg -s 4'? -- John Baldwin