HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
s
swmodify(1M) swmodify(1M)
control_files=
When adding or deleting control file objects, this option lists the tags of those control files.
There is no supplied default. If there is more than one tag, they must be separated by
white space and surrounded by quotes.
distribution_target_directory=/var/spool/sw
Defines the default distribution directory of the target depot. The target_selection operand
overrides this default.
files= When adding or deleting file objects, this option lists the pathnames of those file objects.
There is no supplied default. If there is more than one pathname, they must be separated
by white space.
installed_software_catalog=products
Defines the directory path where the Installed Products Database (IPD) is stored. This
information describes installed software. When set to an absolute path, this option defines
the location of the IPD. When this option contains a relative path, the SD controller
appends the value to the value specified by the
admin_directory
option to determine
the path to the IPD. For alternate roots, this path is resolved relative to the location of the
alternate root. This option does not affect where software is installed, only the IPD loca-
tion.
This option permits the simultaneous installation and removal of multiple software applica-
tions by multiple users or multiple processes, with each application or group of applications
using a different IPD.
Caution: use a specific
installed_software_catalog
to manage a specific applica-
tion. SD does not support multiple descriptions of the same application in multiple IPDs.
See also the
admin_directory
and run_as_superuser options, which control SD’s
nonprivileged mode. (This mode is intended only for managing applications that are spe-
cially designed and packaged. This mode cannot be used to manage the HP-UX operating
system or patches to it. For a full explanation of nonprivileged SD, see the Software Distri-
butor Administration Guide, available at the
http://docs.hp.com web site.)
layout_version=1.0
Specifies the POSIX layout_version
to which the SD commands conform when writ-
ing distributions and
swlist
output. Supported values are "1.0" (default) and "0.8".
SD object and attribute syntax conforms to the layout_version 1.0 specification of the IEEE
POSIX 1387.2 Software Administration standard. SD commands still accept the keyword
names associated with the older layout version, but you should use
layout_version=0.8
only to create distributions readable by older versions of SD.
See the description of the
layout_version
option in sd(5) for more information.
log_msgid=0
Adds numeric identification numbers at the beginning of SD logfile messages:
0 (default) No identifiers are attached to messages.
1 Adds identifiers to ERROR messages only.
2 Adds identifiers to ERROR and WARNING messages.
3 Adds identifiers to ERROR, WARNING, and NOTE messages.
4 Adds identifiers to ERROR, WARNING, NOTE, and certain other informational mes-
sages.
logdetail=false
The logdetail option controls the amount of detail written to the log file. When set to
true, this option adds detailed task information (such as options specified, progress state-
ments, and additional summary information) to the log file. This information is in addition
to log information controlled by the loglevel option.
logfile=/var/adm/sw/sw<modify>.log
Defines the default log file for swmodify.
loglevel=1 (for direct invocation)
loglevel=0 (for invocation by a control script)
Controls the log level for the events logged to the swmodify logfile, the target agent
logfile, and the source agent logfile. This information is in addition to the detail controlled
by the logdetail option. See logdetail for more information.
504 Hewlett-Packard Company − 5 − HP-UX 11i Version 3: February 2007