HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
s
swpackage(1M) swpackage(1M)
layout_version=1.0
Specifies the POSIX layout_version
to which the SD commands conform when writ-
ing distributions and
swlist output. Supported values are "1.0" (default) and "0.8".
SD object and attribute syntax conforms to the layout_version 1.0 specification of the IEEE
POSIX 1387.2 Software Administration standard. SD commands still accept the keyword
names associated with the older layout version, but you should use
layout_version=0.8
only to create distributions readable by older versions of SD.
See the description of the
layout_version
option in sd(5) for more information.
log_msgid=0
Adds numeric identification numbers at the beginning of SD logfile messages:
0 (default) No identifiers are attached to messages.
1 Adds identifiers to ERROR messages only.
2 Adds identifiers to ERROR and WARNING messages.
3 Adds identifiers to ERROR, WARNING, and NOTE messages.
4 Adds identifiers to ERROR, WARNING, NOTE, and certain other informational mes-
sages.
logdetail=false
The logdetail option controls the amount of detail written to the log file. When set to
true, this option adds detailed task information (such as options specified, progress state-
ments, and additional summary information) to the log file. This information is in addition
to log information controlled by the loglevel option.
logfile=/var/adm/sw/sw<package>.log
Defines the default log file for the swpackage command.
loglevel=1
Controls the log level for the events logged to the command logfile, the target agent logfile,
and the source agent logfile. This information is in addition to the detail controlled by the
logdetail option. See logdetail for more information.
A value of:
0 provides no information to the log files.
1 enables verbose logging to the log files.
2 enables very verbose logging to the log files.
media_capacity=1330
If creating a distribution tape or multiple-directory media such as a CD-ROM, this keyword
specifies the capacity of the tape in one million byte units (not Mbytes). This option is
required if the media is not a DDS tape or a disk file. Without this option,
swpackage
sets the size to the default of 1,330 Mbytes for tape or to the amount of free space on the
disk up to minfree for a disk file. SD uses the same format across multiple directory
media as it does for multiple serial media, including calculations of the correct size based
partitioning of filesets and setting of the media_sequence_number
attributes.
media_type=directory
Defines the type of distribution to create. The recognized types are directory and
tape.
package_in_place=false
If set to true, swpackage does not put the files that make up a product in the target
depot. Instead, swpackage inserts references to the original source files, saving disk
space.
reinstall_files=false
Controls the overwriting of files, which may enhance performance on slow networks or
disks. At the default value of false, SD compares each file in a source fileset to correspond-
ing files on the target system. SD compares the files based on size, timestamp, and (option-
ally) the checksum (see reinstall_files_use_cksum). If the files are identical the
files on the target system are not overwritten.
When set to true, SD does not compare files and overwrites any identical files on the target.
reinstall_files_use_cksum=false
Controls the use of checksum comparisons when the reinstall_files option is set to
false. At the default value of true, this option causes SD to compute and compare
514 Hewlett-Packard Company − 6 − HP-UX 11i Version 3: February 2007