Only display ACPI bootmenu key if ACPI is present

John Baldwin jhb at freebsd.org
Wed Nov 10 14:46:51 UTC 2010


On Tuesday, November 09, 2010 5:58:13 pm C. P. Ghost wrote:
> On Mon, Nov 8, 2010 at 11:14 PM, John Baldwin <jhb at freebsd.org> wrote:
> > This patch changes the Forth code for the Beastie menu to only display the
> > menu option to enable or disable ACPI if the loader detects ACPI.  This avoids
> > displaying a menu item prompting to enable ACPI if the BIOS doesn't actually
> > include ACPI.  Any objections?
> 
> Wouldn't that be a POLA violation? Some admins may be used to the
> current menu, and would be scratching head as what went wrong.
> Maybe it would be better to keep the menu option, but make it
> non-selectable and print next to it something like "(not available)"?

Hmmm, I'll see if I can leave the numbering unchanged but not list
the item perhaps.  Note that we already have the "alternate" numbering on
other platforms so the menu is already inconsistent across FreeBSD platforms.

-- 
John Baldwin


More information about the freebsd-current mailing list