HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
swpackage(1M) swpackage(1M)
The following section lists all of the keywords supported by swpackage and swcopy. If a default value
exists, it is listed after the "=". The commands that this option applies to are also specified.
admin_directory=/var/adm/sw (for normal mode)
admin_directory=/var/home/LOGNAME/sw (for nonprivileged mode)
The location for SD logfiles and the default parent directory for the installed software cata-
log. The default value is /var/adm/sw for normal SD operations. When SD operates in
nonprivileged mode (that is, when the run_as_superuser default option is set to
true):
• The default value is forced to /var/home/LOGNAME/sw.
• The path element LOGNAME is replaced with the name of the invoking user, which SD
reads from the system password file.
• If you set the value of this option to HOME/path, SD replaces HOME with the invoking
user’s home directory (from the system password file) and resolves path relative to that
directory. For example, HOME/my_admin resolves to the my_admin directory in
your home directory.
SD’s nonprivileged mode is intended only for managing applications that are specially
designed and packaged. This mode cannot be used to manage the HP-UX operating system
or patches to it. For a full explanation of nonprivileged SD, see the Software Distributor
Administration Guide, available at the
http://docs.hp.com web site.
See also the
run_as_superuser
option.
allow_partial_bundles=true
Determines whether to process partial bundles without WARNINGs and NOTEs. In the
default state of true, this option tells swpackage to package what is available in the
PSF. Missing or ambiguous bundle contents are ignored and no WARNINGs and NOTEs
are issued.
When set to false, this option tells swpackage to expect all the bundle contents to be
present and unique in the PSF. Objects that are ambiguous or missing generates a NOTE
and every bundle with missing or ambiguous content generates a WARNING. (Note that
swpackage succeeds even if NOTEs and WARNINGS occur.)
compress_cmd=/usr/contrib/bin/gzip
Defines the command called to compress files before installing, copying or packaging. If the
compression_type option is set to other than
gzip or compress, this path must be
changed.
compress_files=false
If set to true, uncompressed files are compressed before transfer from a source. This
enhances performance on slower networks for swcopy and swinstall, and results in
smaller depots for swcopy and swpackage, unless the uncompress_files option is
also set to true.
compress_index=false
Determines whether SD commands create compressed INDEX and INFO catalog files when
writing to target depots or roots. The default of false does not create compressed files.
When set to true, SD creates compressed and uncompressed INDEX and INFO files. The
compressed files are named INDEX.gz and INFO.gz, and reside in the same directories as
the uncompressed files.
Compressed files can enhance performance on slower networks, although they may
increase disk space usage due to a larger Installed Products Database and depot catalog.
SD controllers and target agents for HP-UX 11.01 and higher automatically load the
compressed INDEX and INFO files from the source agent when:
• The source agent supports this feature.
• INDEX.gz or INFO.gz exist on the source depot.
• INDEX.gz or INFO.gz are not older than the corresponding uncompressed INDEX or
INFO files.
The uncompressed INDEX or INFO file is accessed by the source agent if any problem
occurs when accessing, transferring, or uncompressing the INDEX.gz or INFO.gz file.
HP-UX Release 11i: December 2000 − 4 − Section 1M−−917
___
___