Software Distributor Administrator Guide (September 2010)
operand, swpackage uses the device file, /dev/
swtape.
Changing Command Options
You can change the behavior of this command by specifying additional command-line
options when you invoke the command (using the -xoption) or by reading predefined
values from a file. The following table shows the options and default values that apply
to swpackage.
Table 10-5 swpackage Command Options and Default Values
• loglevel=1
• lookupcache_timeout_minutes=10
• media_capacity=1330
• media_type=directory
• package_in_place=false
• reinstall_files=true
• reinstall_files_use_cksum=true
• remove_obsolete_filesets=false
• run_as_superuser=true
• software=
• source_directory=
• source_files=psf
• source_type=directory
• target_directory=
• target_tape=
• targets=
• uncompress_cmd=
• verbose=
• write_remote_files=false
• admin_directory=/var/spool/sw
• allow_large_files=false
• allow_large_serial_depot=false
• allow_partial_bundles=true
• compress_command=/usr/contrib/bin/gzip
• compress_files=false
• compress_index=false
• compression_type=gzip
• create_target_acls=true
• distribution_source_directory=/var/spool/sw
• distribution_target_directory=/var/spool/sw
• distribution_target_serial=/dev/rmt/0m
• enforce_dsa=true
• follow_symlinks=false
• include_file_revisions=false
• layout_version=1.0
• log_msgid=0
• logdetail=false
• logfile=/var/adm/sw/swpackage.log
For More Information
See Appendix A (page 303) for complete descriptions of each default.
10.5.1.1 Output of Logfile Messages
The log file /var/adm/sw/swpackage.log captures output from the swpackage
session.
• Message logging by default sends verbose messages to stdout.
(Setting the verbose option to 0 reduces the amount of information in stdout.)
• Message logging also sends errors and warnings to stderr.
• No logfile messages are written in preview (-p) mode.
• The logfile is equal to stdout plus stderr.
Here is a sample log:
10.5 Packaging the Software (swpackage) 259