opensubscriber
   Find in this group all groups
 
Unknown more information…

f : freebsd-hackers@freebsd.org 27 March 2012 • 2:10AM -0400

Re: Active slice, only for a next boot
by rank1seeker

REPLY TO AUTHOR
 
REPLY TO GROUP




----- Original Message -----
From: John Baldwin <jhb@free...>
To: freebsd-hackers@free...
Cc: rank1seeker@gmai..., hackers@free...
Date: Mon, 26 Mar 2012 10:18:53 -0400
Subject: Re: Active slice, only for a next boot

> On Sunday, March 25, 2012 2:49:17 pm rank1seeker@gmai... 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
>


Yes, but new flag for that purpose ('-n' for example => nextboot).

I.e;
    # 'boot0cfg -s 4 -o noupdate -n 3'

Would, set the default/main boot selection to slice 4 and  '-o noupdate'  ensures it remains that way, while '-n 3' would auto press/choose slice 3 in selection menu, as human would.
Well in that case, better to not show menu at all, thus only "blic" into slice 3.
At next boot it is at slice 4 again.


Domagoj Smolčić
_______________________________________________
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.