sd.4 (2011 03)

s
sd(4) sd(4)
The attribute value types are defined in the next section, VALUE TYPES .
Vendor-Defined Attributes
You can create your own software attributes when packaging software. Keywords in a product
specification file that are not recognized by SD are preserved, along with their associated values, by being
transferred to the resulting INDEX or INFO files created by
swpackage or swcopy. (Refer to swpack-
age(4) for more information on INDEX and INFO files.)
The keyword is a filename character string. The value associated with a keyword is processed as an
attribute_value. It can be continued across multiple input lines or can reference a file containing the
value for the keyword.
Vendor-defined attributes are noted during packaging or when modified with
swmodify. These attri-
butes can be listed with
swlist.
Host Attributes
Attribute Value Type Size Example
machine_type uname_string 32 9000/[78]*
ia64 hp server g4000
name one_line_string 64 dist.hp.com
os_name uname_string 32 HP-UX
os_release uname_string 32 B.11.11
os_version uname_string 32 C
contained depots list of depot
objects
contained roots list of root
directories
machine_type
The host’s machine and architecture designation. (See output of the model command.)
name
The official name of the network host.
os_name
The host’s operating system name. (uname -s)
os_release
The host’s operating system release. (uname -r)
os_version
The host’s operating system version. (uname -v)
contained depots
The depots registered at the host.
contained roots
The root filesystems registered on this system.
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: March 2011