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)
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.)
When set to false and the invoking user is local and is not super-user, nonprivileged mode
is invoked:
Permissions for operations are based on the user’s file system permissions.
SD ACLs are ignored.
Files created by SD have the uid and gid of the invoking user, and the mode of created
files is set according to the invoking user’s umask.
HP-UX Release 11i: December 2000 6 Section 1M919
___
___