drd-runcmd.1m (2010 09)
d
drd-runcmd(1M) drd-runcmd(1M)
drd runcmd
can also be used to swlist, swverify, swremove, and swmodify software that is
installed on the inactive image. It cannot be used to list or modify any depot’s contents. Using these com-
mands outside of
drd runcmd
allows for depot listing and management.
Syntax Restrictions for sw* Commands
Since depot manipulation is not supported under
drd runcmd, any option that indicates a depot target
is not supported. This includes the following:
-d on swlist, swmodify,
swverify, and swremove.
@ options on
swinstall, swlist, swverify
.
Any double quotation marks (") or wild cards (* or ?) in the command line of the command to be run must
be escaped to prevent inappropriate shell expansion or truncation of the command.
Any file referenced by the command line, that is, the argument of the
view command and any argument
of any of the options
-c,
-f -P, -S, -X, -x logfile,or
-x patch_filter, must reside on the inactive system
image and must be designated by the path it would have if the inactive image were booted. This is the
same as its path relative to the mount point of a mounted inactive image.
For example, the location that will be
/var/opt/list when the image is booted is either
/var/opt/drd/mnts/sysimage_001/var/opt/list
or
/var/opt/drd/mnts/sysimage_000/var/opt/list
when the inactive image is mounted. If this
file is an argument of one of the options listed above, it should be specified as simply
/var/opt/list.
This restriction also applies to the arguments of
-x logfile and -x patch_filter that appear in a file that is
the argument of the
-X option, and to paths that appear in a file that is the argument of a
-S option.
Note that this restriction does NOT apply to local directory depots, which must reside on the booted sys-
tem, and be designated by their location on the booted system.
The following (rare) options of
sw* commands are not supported by drd runcmd
:
Option Notes
-c Specification of a catalog is not supported.
-d Depot targets are not supported by drd runcmd. (See dis-
cussion above.)
-F Execution of fix scripts is not supported by drd runcmd.
-J Scheduling of jobs is not supported by drd runcmd.
-Q Scheduling of jobs is not supported by drd runcmd.
-r Installation to SD-style alternate roots is not supported by
drd runcmd.
-t The inactive system image is always the target in a drd
runcmd operation.
-x admin_dir Non-standard IPD locations are not supported by drd
runcmd.
-x agent_auto_exit Non-standard IPD locations are not supported by drd
runcmd.
-x ask Use of response files is not supported by drd runcmd.
-x auto_kernel_build Regardless of the value of this option, a swremove executed
by drd runcmd builds the kernel for the next boot.
-x autoreboot Regardless of the value of this option, drd runcmd
suppresses all reboots.
-x controller_source This option is not supported by drd runcmd.
-x distribution_source_directory
This option is not supported by drd runcmd.
-x distribution_target_directory
This option is not supported by drd runcmd.
HP-UX 11i Version 3: September 2010 − 3 − Hewlett-Packard Company 3