HP-UX Reference (11i v1 00/12) - 4 File Formats (vol 8)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man4/!!!intro.4
________________________________________________________________
___ ___
s
sd(4) sd(4)
(Hewlett-Packard Company)
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 swpackageor swcopy. (Refer to swpackage(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 attributes
can be listed with swlist.
Host Attributes
Attribute Value Type Size Example
machine_type uname_string 32 9000/[78]*
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. (uname -m field).
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.
Section 4248 2 HP-UX Release 11i: December 2000
___
___