From owner-freebsd-hackers@FreeBSD.ORG Fri May 27 13:47:54 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id CE08F1065670; Fri, 27 May 2011 13:47:54 +0000 (UTC) Date: Fri, 27 May 2011 13:47:54 +0000 From: Alexander Best To: rank1seeker@gmail.com Message-ID: <20110527134754.GA94769@freebsd.org> References: <20110527.124553.718.1@DEV> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110527.124553.718.1@DEV> Cc: 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: Fri, 27 May 2011 13:47:54 -0000 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? take a look at the gpart(8) manual, expecially the ATTRIBUTES section. if you are running with a GPT scheme you can use the "bootonce" attribute to do exactly what you asked for. cheers. alex > > > Domagoj Smol?i? > > -- a13x