HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)

s
swpackage(1M) swpackage(1M)
(HP-UX Software Distributor)
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 check-
sums to determine if a new file should overwrite an old file. Use of checksums slows the
comparison but is a more robust check for equivalency than size and time stamp.
If set to false, SD does not compute checksums and compares files only by size and times-
tamp.
run_as_superuser=true
This option controls SD’s nonprivileged mode. This option is ignored (treated as true) when
the invoking user is super-user.
When set to the default value of true, SD operations are performed normally, with permis-
sions for operations either granted to a local super-user or set by SD ACLs. (See swacl(1M)
for details on ACLs.)
HP-UX 11i Version 1: September 2005 6 Hewlett-Packard Company Section 1M971