Print this page
11581 'debug' loader option is a little obscure
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Rob Johnston <rob.johnston@joyent.com>

*** 8,18 **** copy of the text of the CDDL should have accompanied this source. A copy of the CDDL is also available via the Internet at http://www.illumos.org/license/CDDL. Copyright 2017 Toomas Soome <tsoome@me.com> Copyright 2019 OmniOS Community ! Edition (OmniOSce) Association. This module is implementing the beadm user command to support listing and switching Boot Environments (BE) from command line and support words to provide data for BE menu in loader menu system. Note: this module needs an update to provide proper BE vocabulary. --- 8,18 ---- copy of the text of the CDDL should have accompanied this source. A copy of the CDDL is also available via the Internet at http://www.illumos.org/license/CDDL. Copyright 2017 Toomas Soome <tsoome@me.com> Copyright 2019 OmniOS Community ! Edition (OmniOSce) Association. Copyright 2019 Joyent, Inc. This module is implementing the beadm user command to support listing and switching Boot Environments (BE) from command line and support words to provide data for BE menu in loader menu system. Note: this module needs an update to provide proper BE vocabulary.
*** 124,136 **** reset BE menu 0 page_count ! need to do: 0 unload drop free-module-options unset the env variables with kernel arguments s" acpi-user-options" unsetenv s" boot-args" unsetenv s" boot_ask" unsetenv s" boot_single" unsetenv s" boot_verbose" unsetenv s" ! boot_kmdb" unsetenv s" boot_debug" unsetenv s" boot_reconfigure" ! unsetenv start load config, kernel and modules ." Current ! boot device: " s" currdev" getenv type cr ; beadm list [device] beadm activate BE [device] | device lists BE's from current or specified device /boot/menu.lst file activates specified BE by unloading modules, setting currdev and running start to load configuration. : beadm ( -- ) ( throws: abort ) 0= if ( interpreted ) get_arguments then --- 124,136 ---- reset BE menu 0 page_count ! need to do: 0 unload drop free-module-options unset the env variables with kernel arguments s" acpi-user-options" unsetenv s" boot-args" unsetenv s" boot_ask" unsetenv s" boot_single" unsetenv s" boot_verbose" unsetenv s" ! boot_kmdb" unsetenv s" boot_drop_into_kmdb" unsetenv s" ! boot_reconfigure" unsetenv start load config, kernel and ! modules ." Current boot device: " s" currdev" getenv type cr ; beadm list [device] beadm activate BE [device] | device lists BE's from current or specified device /boot/menu.lst file activates specified BE by unloading modules, setting currdev and running start to load configuration. : beadm ( -- ) ( throws: abort ) 0= if ( interpreted ) get_arguments then