Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Solaris Express Installation Guide: Solaris Live Upgrade and Upgrade Planning
Previous Next

Adding or Changing a Description Associated With a Boot Environment Name

You can associate a description with a boot environment name. The description never replaces the name. Although a boot environment name is restricted in length and characters, the description can be of any length and of any content. The description can be simple text or as complex as a gif file. You can create this description at these times:

  • When you create a boot environment with the lucreate command and use the -A option

  • After the boot environment has been created by using the ludesc command

For more information about using the -A option with lucreate

To Create a Boot Environment for the First Time

For more information about creating the description after the boot environment has been created

ludesc(1M)

To Add or Change a Description for a Boot Environment Name With Text

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Type:
    # /usr/sbin/ludesc -n  BE_name 'BE_description'
    -n BE_name 'BE_description'

    Specifies the boot environment name and the new description to be associated with the name

Example 7-5 Adding a Description to a Boot Environment Name With Text

In this example, a boot environment description is added to a boot environment that is named second_disk. The description is text that is enclosed in single quotes.

# /usr/sbin/ludesc -n second_disk 'Solaris Express 5/07 test build'

To Add or Change a Description for a Boot Environment Name With a File

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Type:
    # /usr/sbin/ludesc -n BE_name -f file_name
    -n BE_name

    Specifies the boot environment name

    file_name

    Specifies the file to be associated with a boot environment name

Example 7-6 Adding a Description to a Boot Environment Name With a File

In this example, a boot environment description is added to a boot environment that is named second_disk. The description is contained in a gif file.

# /usr/sbin/ludesc -n second_disk -f rose.gif

To Determine a Boot Environment Name From a Text Description

The following command returns the name of the boot environment associated with the specified description.

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Type:
    # /usr/sbin/ludesc -A 'BE_description'
    -A 'BE_description'

    Specifies the description to be associated with the boot environment name.

Example 7-7 Determining a Boot Environment Name From a Description

In this example, the name of the boot environment, second_disk, is determined by using the -A option with the description.

# /usr/sbin/ludesc -A 'Solaris Express 5/07 test build'
 second_disk

To Determine a Boot Environment Name From a Description in a File

The following command displays the boot environment's name that is associated with a file. The file contains the description of the boot environment.

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Type:
    # /usr/sbin/ludesc -f  file_name
    -f file_name

    Specifies the name of the file that contains the description of the boot environment.

Example 7-8 Determining a Boot Environment Name From a Description in a File

In this example, the name of the boot environment, second_disk, is determined by using the -f option and the name of the file that contains the description.

# /usr/sbin/ludesc -f rose.gif
second_disk

To Determine a Boot Environment Description From a Name

This procedure displays the description of the boot environment that is named in the command.

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Type:
    # /usr/sbin/ludesc -n BE_name
    -n BE_name

    Specifies the boot environment name.

Example 7-9 Determining a Boot Environment Description From a Name

In this example, the description is determined by using the -n option with the boot environment name.

# /usr/sbin/ludesc -n second_disk 
Solaris Express 5/07 test build
Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire