Solaris Live Upgrade 2.0 Guide

Displaying the Name of the Active Boot Environment

Use the Current menu or the lucurr command to display the name of the currently running boot environment. If no boot environments are configured on the system, the message "No Boot Environments are defined" is displayed. Note that lucurr reports only the name of the current boot environment, not the boot environment that is active on the next reboot. See Displaying the Status of All Boot Environments to determine a boot environment's status.

To Display the Name of the Active Boot Environment (Character Interface)

  1. From the main menu, select Current.

    The active boot environment's name or the message "No Boot Environments are defined" is displayed.

To Display the Name of the Active Boot Environment (Command-Line Interface)

  1. Type:


    # /usr/sbin/lucurr -m mount_point
    

    -m mount_point

    Returns the name of the boot environment that owns mount_point. The name can be a mount point of the current boot environment or another boot environment. If the latter is true, the file system of the boot environment must have been mounted with lumount(1M) or mount(1M) before you entered this option.


    Example 5–4 Displaying the Name of the Active Boot Environment (Command-Line Interface)

    In this example, the name of the current boot environment is displayed.


    # /usr/sbin/lucurr -m /