HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)

s
swpackage(1M) swpackage(1M)
Standard Error
The swpackage command writes messages for all WARNING and ERROR conditions to stderr.
Logfile
The swpackage command logs detailed events to the log file
/var/adm/sw/swpackage.log
. The
user can specify a different logfile by modifying the
logfile option.
EXAMPLES
Package the products defined in the PSF products into the default target depot:
swpackage -s products
Preview the same operation (do not create the target depot), and generate very verbose output:
swpackage -p -vv -s products
Package the products into the target depot no_files, insert references to the source files instead of copying
them into the depot:
swpackage -s products -x package_in_place=true @ no_files
Re-package a specific fileset:
swpackage -s products -x package_in_place=true product.fileset @ no_files
Re-package the entire contents of the depot /var/spool/sw
onto the tape at /dev/rmt/0m :
swpackage -s /var/spool/sw -x media_type=tape @ /dev/rmt/0m
FILES
/dev/rmt/0m
The default location of a source and target tape. (Note that SD can read both tar and
cpio tape
depots.)
$HOME/.swdefaults
Contains the user-specific default values for some or all SD options.
$HOME/.sw/sessions/
Contains session files automatically saved by the SD commands, or explicitly saved by the user.
/usr/lib/sw/sys.defaults
Contains the master list of current SD options with their default values.
/var/adm/sw/
The directory which contains all of the configurable and non-configurable data for SD. This directory
is also the default location of logfiles.
/var/adm/sw/defaults
Contains the active system-wide default values for some or all SD options.
/var/spool/sw/
The default location of a source and target software depot.
AUTHOR
swpackage was developed by the Hewlett-Packard Company and Mark H. Colburn (see pax(1)).
SEE ALSO
sd(4), swpackage(4), sd(5).
Software Distributor Administration Guide, available at
http://docs.hp.com
.
SD customer web site at
http://docs.hp.com/en/SD/.
518 Hewlett-Packard Company 10 HP-UX 11i Version 3: February 2007