Date: Mon, 20 Sep 2010 09:31:56 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-current@freebsd.org Cc: Pawel Jakub Dawidek <pjd@freebsd.org>, freebsd-arch@freebsd.org Subject: Re: gptboot rewrite, bootonce, etc. Message-ID: <201009200931.57086.jhb@freebsd.org> In-Reply-To: <20100917234542.GE1902@garage.freebsd.pl> References: <20100917234542.GE1902@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, September 17, 2010 7:45:42 pm Pawel Jakub Dawidek wrote: > - Split code shared by almost any boot loader into separate files and > clean up most layering violations: I like this in general. I worry that the space constraints for boot2 will prevent it from using this though as it depends on inlining almost everything to fit into its allotted space. At least it can use the rbx.h header. > - Introduce three new GPT attributes: > > bootme - this is bootable partition > bootonce - try to boot from this partition only once > bootfailed - we failed to boot from this partition The 'bootme' attribute alone is a boon. One of the problems with EFI was figuring out a sane way to choose the root partition. EFI on ia64 currently uses the 'first partition wins' strategy, and this will be a definite improvement. To that end this should also help with EFI on x86. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009200931.57086.jhb>