
the Basic tab. The form used in the next example to initialize a list of possible values allows the
Further in the configuration file, when giving _hp_disk_layout a final value you only assign its value using init. When using the form "init _hp_disk_layout="…" the
This is because the
#######################################################################
#Any _hp_disk_layout variable setting besides those below will disable
#the default disk layout described in this file. This can be
#done if a custom disk layout is defined elsewhere.
#
#For PA architecture only is_hppa {
_hp_disk_layout = {
"Whole disk (not LVM) with HFS", "Logical Volume Manager (LVM) with HFS", "Logical Volume Manager (LVM) with VxFS", "VERITAS Volume Manager (VxVM) with VxFS"
}
}
You can now set the variable _hp_disk_root to the value of _hp_primary_path, assuming that the device that _hp_primary_path points to exists and _hp_root_disk does not already have a value. You can use an Extended Regular Expression (ERE)20 to see if _hp_root_disk is set to any value21.
#
#Set the default root disk to the current primary path. The
#_hp_primary_path will be "" if it was set to a
#also don't reset the _hp_root_disk if it was initialized in
#a different config file and
#the ~ operator instead of == to detect if _hp_root_disk is not
#yet set (See FSDdt22058).
#
(_hp_primary_path != "" & !(_hp_root_disk ~ ".*"))
{
init _hp_root_disk=_hp_primary_path
}
19The itool command
20For more information regarding ERE, refer to regexp(5).
21The ERE ".*" means zero or more of any character so it matches a zero length string.
46