Date: Fri, 27 May 2011 12:34:23 -0600 From: Warner Losh <imp@bsdimp.com> To: rank1seeker@gmail.com Cc: hackers@FreeBSD.ORG Subject: Re: Active slice, only for a next boot Message-ID: <496B0C04-7777-458D-A116-27944A4006BB@bsdimp.com> In-Reply-To: <20110527.164723.750.2@DEV> References: <20110527.124553.718.1@DEV> <20110527134754.GA94769@freebsd.org> <20110527.164723.750.2@DEV>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 27, 2011, at 10:47 AM, rank1seeker@gmail.com wrote: > ----- Original Message ----- > From: Alexander Best <arundel@freebsd.org> > 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? >> >> 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 >> > > Thanls, but I need it for MBR. gpart works with MBR. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?496B0C04-7777-458D-A116-27944A4006BB>