Ignite-UX Reference (March 2010, B3921-90005)
instl_adm(4) instl_adm(4)
performs addition, whereas using it on string variables/keywords performs concatenation.
There are several constructs in the configuration-file syntax where a set of parameters are associated with a
specific object. For example, the file-system parameters associated with a given file system. If the object
being defined has already been defined, the new parameters are merged with any parameters previously
assigned to the object. It is thus possible to override a small set of parameters while letting the rest be
defined by the default configuration file.
Constants
Integer:
An integer may be a decimal value specified using digits 0 through 9. No special significance is
given to leading zeros.
An integer may be a hexadecimal value specified using the prefix 0x followed by a value using the
hexadecimal digits 0 through 9, a through f, and A through F.
An integer may be a decimal value and may have a KiB, MiB, GiB or TiB suffix multiple. For
compatibility with prior Ignite-UX releases a KB, MB, GB or TB suffix multiple may be used
instead. These multiples are KiB or KB for 2ˆ10, MiB or MB for 2ˆ20, GiB or GB for 2ˆ30, and
TiB or TB for 2ˆ40. According to International System of Units (SI) notation the preferred multi-
ples are KiB, MiB, GiB, and TiB. Note that Ignite-UX does not support 10ˆ3, 10ˆ6, 10ˆ9, and
10ˆ12 decimal multiples. Further information about binary multiples is available from Commis-
sion Electrotechnique Internationale (IEC) and National Institute of Standards and Technology
(NIST).
String:
A string is text surrounded by double-quote (") characters. If a double quote is needed inside the
string, it must preceded with the backslash (\) character. No other characters, including newlines,
need to be preceded with a backslash character.
Most keywords also allow for complex strings (cplx_string). Complex strings may be regular
quoted strings or may be a combination of multiple strings, variable names, mathematical expres-
sions, or system-attribute keywords enclosed with ${} combined using the "+" operator. For
example: "The system contains " + ${num_disks} + " disk drives".
A complex string may also have a format string associated with it to allow specific formatting to
be performed when converting the value into a string. The format string is passed directly to
sprintf. The syntax to specify a format string is as follows:
mod_kernel += "maxdsiz " + ${"0X%X" _maxdsize_var}
where "0X%X" is the format string and causes the value of the variable to be converted to an
uppercase hexadecimal value.
Boolean:
The boolean constants are: true/TRUE and false/FALSE.
I/O Constant:
Ignite-UX provides supports use of several different types of special constants related to I/O for
use in conditional expressions and setting variables. A hardware path is a common example of
one of these I/O types. More detailed information about these types is provided in the section on
I/O Configuration.
Variables
The Ignite-UX configuration files support string and integer variables. Variable names must begin with an
underscore (_) character followed by one or more characters from the set a-z, A-Z, 0-9, or underscore.
Integer variables and numeric values are stored internally in KB units when possible. This allows for larger
than 4GB values to be operated on and still use a 32-bit value internally. Howev er, the parser converts a
value to regular units when addition or subtraction is performed using a non-KB value. The parser does not
allow a combination of KB and non-KB values to be listed as potential values for a variable. When using a
variable as part of cplx_string, you may need to add 0 (zero) to the value to force conversion to a non-KB
3