opensubscriber
   Find in this group all groups
 
Unknown more information…

f : freebsd-hackers@freebsd.org 28 May 2011 • 5:03PM -0400

Re: Active slice, only for a next boot
by Julian Elischer

REPLY TO AUTHOR
 
REPLY TO GROUP




On 5/27/11 11:34 AM, Warner Losh wrote:
> On May 27, 2011, at 10:47 AM, rank1seeker@gmai... wrote:
>
>> ----- Original Message -----
>> From: Alexander Best<arundel@free...>
>> To: rank1seeker@gmai...
>> Cc: hackers@free...
>> Date: Fri, 27 May 2011 13:47:54 +0000
>> Subject: Re: Active slice, only for a next boot
>>
>>> On Fri May 27 11, rank1seeker@gmai... 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.

>>> 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
>
> _______________________________________________
> freebsd-hackers@free... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@free..."
>

_______________________________________________
freebsd-hackers@free... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@free..."

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.