Beruflich Dokumente
Kultur Dokumente
swcopy
If you have a several products or filesets that you want to group together into a new or existing
depot (a collection of patches, for example), use swcopy The destination depot does not have to
exist; swcopy will create it for you if it doesn't. For example:
# swcopy -s /home/bass/depot procmail @ /tmp/depot
The -s specifies the source depot, /home/bass/depot. It could be a depot file, directory, tape
device or mounted CD.
The procmail is the name of the product or fileset to copy.
The @ specifies the destination depot (rather than the -d used by swpackage, /tmp/depot.
Preview Mode. The task quits after the analysis phase. Nothing
is written to disk.
-v
Verbose Mode
-vv
-x autoreboot=true
-x mount_all_filesystems=false
-x allow_incompatible=true
-x enforce_dependencies=false
swlist Tricks
Assume you have the HP-UX 11i v1 (B.11.11) Installation CD mounted on /cdrom, you can find
the product name of the C compiler as follows:
% swlist -l product -l subproduct -s /cdrom | grep -i compiler
# B3901BA B.11.11.04 HP C/ANSI C Developer's Bundle for HP-UX 11.i
(S800)
If you swinstall the C compiler from a depot somewhere else you can determine which one with
the following:
% swlist -v -l product C-ANSI-C | grep install_source
install_source windsock:/var/opt/ignite/depots/Rel_B.11.11/apps_800
You could use the following command to determine which product contains pxdb:
% swlist -l file -s /cdrom | grep pxdb
DebugPrg.DEBUG-PRG: /opt/langtools/bin/pxdb
DebugPrg.DEBUG-PRG: /opt/langtools/bin/pxdb32
DebugPrg.DEBUG-PRG: /opt/langtools/bin/pxdb64
DebugPrg.DEBUG-PRG: /opt/langtools/lib/nls/msg/C/pxdb.cat
OS-Core.Q4: /usr/contrib/Q4/bin/q4.pxdb
OS-Core.Q4: /usr/contrib/Q4/bin/q4pxdb
OS-Core.Q4: /usr/contrib/Q4/bin/q4pxdb64
OS-Core.Q4: /usr/contrib/bin/q4.pxdb
OS-Core.Q4: /usr/contrib/bin/q4pxdb
OS-Core.Q4: /usr/contrib/bin/q4pxdb64
OS-Core.Q4: /usr/contrib/lib/nls/msg/C/q4pxdb.cat
OS-Core.Q4: /usr/contrib/lib/nls/msg/C/q4pxdb64.cat
PHCO_25723.Q4: /usr/contrib/Q4/bin/q4.pxdb
PHCO_25723.Q4: /usr/contrib/Q4/bin/q4pxdb
PHCO_25723.Q4: /usr/contrib/Q4/bin/q4pxdb64
swlist Tricks