svcadm(1M)을 검색하려면 섹션에서 1M 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
pkgdiff(1)
pkgdiff(1) User Commands pkgdiff(1)
NAME
pkgdiff - compare package manifests
SYNOPSIS
/usr/bin/pkgdiff [-i attribute]... [-o attribute]
[-t action_name[,action_name]...]...
[-v name=value]... (file1 | -) (file2 | -)
DESCRIPTION
pkgdiff compares two package manifests and reports differences. One of
the manifests can be read from stdin by specifying - in place of the
file name. pkgdiff sorts each manifest and action into a consistent
order before comparison.
Output is in the following form:
+ complete_action
This action is in file2 but not in file1.
- complete_action
This action is in file1 but not in file2.
actionname keyvalue [variant values, if any]
- attribute1=value1
This attribute,value is in file1 but not in file2.
+ attribute2=value2
This attribute,value is in file2 but not in file1.
Actions with different variants but the same type and key attribute
value are treated as separate actions for purposes of comparison. Thus,
actions that change attributes are shown in their complete form rather
than as attribute changes.
OPTIONS
The following options are supported:
--help
Display a usage message.
-i attribute
Ignore attribute if present during comparisons. File hash values
can be ignored with -i hash. This option cannot be used with the
-o option. This option can be specified multiple times.
-o attribute
Only report differences in attribute. This option cannot be used
with the -i option. This option elides any action changes that do
not affect attribute on an action.
-t action_name[,action_name]...
Only compare the specified actions. Multiple actions can be speci‐
fied in a comma-separated list. The value of action_name is one of
the actions listed in "Actions" in the pkg(7) man page. For exam‐
ple, the following values could be specified for action_name: file,
dir, driver, depend, set. This option can be specified multiple
times.
-v name=value
Only compute differences for this variant value. For example, only
compute differences for arch=sparc. This variant tag is removed for
all actions before comparison. Only one value can be specified per
variant. This option can be specified multiple times for different
variants.
EXIT STATUS
The following exit values are returned:
0 No differences were found.
1 Differences were found.
2 Invalid command line options were specified.
3 An error occurred.
99 An unanticipated exception occurred.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Availabilitypackage/pkg _ Interface StabilityUncommit‐
ted
SEE ALSO
pkg(7)
https://github.com/oracle/solaris-ips
Oracle Solaris 11.4 26 Feb 2013 pkgdiff(1)