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 on using the -A option with lucreate, see To Create a Boot Environment for the First Time (Command-Line Interface). For more information on creating the description after the boot environment has been created, see the following procedures or the man page, ludesc(1M).
Log in as superuser.
Type:
# /usr/sbin/ludesc -n BE_name 'BE_description' |
Specifies the boot environment name and the new description to be associated with the name
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 9 test build' |
Log in as superuser.
Type:
# /usr/sbin/ludesc -n BE_name -f file_name |
Specifies the boot environment name
Specifies the file to be associated with a boot environment name
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 |
Log in as superuser.
Type:
# /usr/sbin/ludesc -A 'BE_description' |
Displays the boot environment name that is associated with the 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 9 test build' second_disk |
Log in as superuser.
Type:
# /usr/sbin/ludesc -f file_name |
Displays the boot environment name that is associated with the description that is located 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 |
Log in as superuser.
Type:
# /usr/sbin/ludesc -n BE_name |
Displays the description that is associated with the boot environment 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 9 test build |