From owner-freebsd-hackers@FreeBSD.ORG Sat May 28 18:10:26 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDAEE106566C for ; Sat, 28 May 2011 18:10:26 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id AF7098FC08 for ; Sat, 28 May 2011 18:10:26 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p4SIAEj7069232 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 28 May 2011 11:10:16 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4DE13A8D.8030101@freebsd.org> Date: Sat, 28 May 2011 11:10:21 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: utisoft@gmail.com References: <20110527.124553.718.1@DEV> <20110527134754.GA94769@freebsd.org> <20110527.164723.750.2@DEV> <496B0C04-7777-458D-A116-27944A4006BB@bsdimp.com> <4DE0BA7C.8080707@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Sat, 28 May 2011 18:10:27 -0000 On 5/28/11 4:06 AM, Chris Rees wrote: > > > On 28 May 2011 10:04, "Julian Elischer" > wrote: > > > > On 5/27/11 11:34 AM, Warner Losh wrote: > >> > >> On May 27, 2011, at 10:47 AM, rank1seeker@gmail.com > wrote: > >> > >>> ----- Original Message ----- > >>> From: Alexander Best > > >>> To: rank1seeker@gmail.com > >>> Cc: hackers@freebsd.org > >>> Date: Fri, 27 May 2011 13:47:54 +0000 > >>> Subject: Re: Active slice, only for a next boot > >>> > >>>> On Fri May 27 11, rank1seeker@gmail.com > wrote: > >>>>> > >>>>> Idea is ... > >>>>> I have i.e; 3 slices, of which first is active. > >>>>> Now I wana set slice 2 active, but only for a one/next boot. > >>>>> Once slice 2 is booted and system is shutdown or rebooted, > once again, > >>> > >>> first slice is active and booted, without user's intervention. > >>>>> > >>>>> Is this possible or should be implemented? > > > > > > nextboot(8) USED to do this before it was broken by someone to > "look into the filesystem" > > for it's next boot hint which is obviously broken if you are > trying to get to another filesystem > > because the main one is broken. > > > > Doesn't sound that useful to me- I think of the main use for > nextboot being to try new kernels on a one-time basis. If you're > rescuing a broken filesystem surely it's better to just set another > slice active? > try using it on an appliance it has to recover on its own from a complete filesystem screwup. > Chris >