Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a Workgroup
Adding Software to a Workgroup
Chapter 9 895
More Examples
The first command in the example that follows copies all software (“*”)
from the path /release/s700_10.01_gsK/wszx6 at the network source
appserver to the target /mnt1/depot. The second command does the
same thing except that it copies only the software specified in the file
/tmp/langJ.
swcopy -s appserver.cup.hp.com:/release/s700_10.01_gsK/wszx6 \
"*" @:/mnt1/depot
swcopy -f /tmp/langJ -s hpclpep:/languages/gsJ @:/mnt1/depot
The following example builds a tape from the depot created in the
previous example:
swpackage -x target_type=tape -s /mnt1/depot -d /dev/rmt/0m "*"
NOTE Building a depot on tape or disk is a good use of the capabilities of SD,
but you are taking on some extra responsibility: if you build the depot
incorrectly, or incompletely, and the upgrade fails as a result, HP will not
treat this as an SD defect.