HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)

d
drd-runcmd(1M) drd-runcmd(1M)
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
sw* command 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 must be specified simply as
/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
sw* -X option, and to paths that appear in a file that is the argument of an
sw* -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.
Note that you can have -x and -X options for both the drd runcmd
(which would contain the runcmd’s
options) command and for the command you are running (which would contain that command’s options).
The following (rare) options of
sw* commands are not supported by drd runcmd:
Option Notes
Specification of a catalog is not supported.-c
Depot targets are not supported by drd runcmd. (See discus-
sion above.)
-d
Execution of fix scripts is not supported by drd runcmd.-F
Scheduling of jobs is not supported by drd runcmd.-J
Scheduling of jobs is not supported by drd runcmd.-Q
Installation to SD-style alternate roots is not supported by drd
runcmd.
-r
The inactive system image is always the target in a drd
runcmd operation.
-t
Nonstandard IPD locations are not supported by drd runcmd.-x admin_dir
Nonstandard IPD locations are not supported by drd runcmd.-x agent_auto_exit
Use of response files is not supported by drd runcmd.-x ask
Regardless of the value of this option, a swremove executed by
drd runcmd builds the kernel for the next boot.
-x auto_kernel_build
Regardless of the value of this option, drd runcmd suppresses
all reboots.
-x autoreboot
This option is not supported by drd runcmd.-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 obsolete and is not supported by drd runcmd.-x force_single_target
This option defaults to false in a drd runcmd operation. If it is
set to true on the command line, the operation will probably not
succeed.
-x mount_all_filesystems
This operation is ignored for drd runcmd operations.-x rpc_binding_info_target
Operations targeted at depots are not supported by drd
runcmd.
-x remove_empty_depot
This option is not meaningful for drd runcmd, since it must be
run as root.
-x un_as_superuser
This option is not supported by drd runcmd.-x select_local
Tape depots are not supported by drd runcmd.-x source_tape
HP-UX 11i Version 2: December 2007 Update 3 Hewlett-Packard Company 213