swpackage.1m (2011 03)
s
swpackage(1M) swpackage(1M)
$HOME/.swdefaults
the user-specific default values.
Values must be specified in the defaults file using this syntax:
[command_name.]option=value
The optional command_name prefix denotes one of the SD commands.
You can also override default values from the command line with the
-x or -X options:
command
-x option =value
command
-X option_file
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
catalog. 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 sys-
tem or patches to it. For a full explanation of nonprivileged SD, see the Software Distri-
butor Administration Guide , available at the
http://www.hp.com/go/sd-docs
web site.
See also the
run_as_superuser
option.
allow_large_files=false
Determines whether packaging of files with a size greater than or equal to 2 gigabytes is
allowed. In the default state of false, this option tells swpackage to not allow files
with a size greater than or equal to 2 gigabytes to be packaged.
When set to
true, this option tells swpackage to permit files with a size greater than
or equal to 2 gigabytes to be packaged. The depot can only be used by the December
2005 OEUR (HP-UX 11i v2) version of SD and newer versions of SD on HP-UX 11i v1,
HP-UX 11i v2, and future releases.
This version of SD supports a large file up to 2 terabytes (2048 gigabytes)
allow_large_serial_depot=false
Determines whether a serial depot can be created larger than 2 gigabytes. In the default
state of false, this option tells swpackage to limit the size of the depot to 2 gigabytes.
When set to
true, this option tells swpackage to permit the creation of a serial depot
greater than 2 gigabytes. The depot is only usable by SD in the HP-UX 11i v1 (11.11)
December 2004 OEUR, HP-UX 11i v2 (11.23) March 2005 OEUR and newer releases.
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.)
4 Hewlett-Packard Company − 4 − HP-UX 11i Version 3: March 2011