swpackage.1m (2011 03)

s
swpackage(1M) swpackage(1M)
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.
compression_type=gzip
Defines the default compression type used by the agent when it compresses files during or
after transmission. If uncompress_files
is set to false, the compression_type
is recorded for each file compressed so that the correct uncompression can later be
applied during a swinstall,ora swcopy with uncompress_files
set to true.
The
compress_cmd specified must produce files with the compression_type
specified. The uncompress_cmd
must be able to process files of the
compression_type
specified unless the format is gzip, which is uncompressed by
the internal uncompressor (
funzip).
create_target_acls=true
If creating a target depot, swpackage will create Access Control Lists (ACLs) for the
depot (if it is new) and all products being packaged into it. If set to false
, and if the
user is the superuser,
swpackage will not create ACLs. (The swpackage command
never creates ACLs when software is packaged on to a distribution tape.)
distribution_source_directory=/var/spool/sw
Defines the default location of the source depot (when the source_type is directory ).
You can also use the host :path syntax. The -s option overrides this default.
distribution_target_directory=/var/spool/sw
Defines the default distribution directory of the target depot. The directory |device
operand overrides this default.
distribution_target_serial=/dev/rmt/0m
Defines the default location of the target tape device file. The directory |device operand
overrides this default.
enforce_dsa=true
Prevents a command from proceeding past the analysis phase if the disk space required
is beyond the available free space of the impacted file systems. If set to false, then the
install, copy, or package operation will use the file systems minfree space and may fail
because it reaches the file system’s absolute limit.
follow_symlinks=false
Do not follow symbolic links in the package source files, but include the symbolic links in
HP-UX 11i Version 3: March 2011 5 Hewlett-Packard Company 5