包含在尋找其他文件熱門支援資源 | 以 PDF 格式下載這本書 (8966 KB)
pkgchk(1M)Name | Synopsis | Description | Options | Operands | Examples | Exit Status | Attributes | See Also | Notes Name
Synopsis
pkgchk [-l | -acfnqvx] [-i file | -]
[-p path... | -P partial-path...] [-R root_path]
[ [-m pkgmap [-e envfile]] | pkginst... | -Y category,category…]
pkgchk -d device [-l | -fv] [-i file | -] [-M] [-p path]...
[-V fs_file]
[pkginst... | -Y category[,category…]]
Descriptionpkgchk checks the accuracy of installed files or, by using the -l option, displays information about package files. pkgchk checks the integrity of directory structures and files. Discrepancies are written to standard error along with a detailed explanation of the problem. The first synopsis defined above is used to list or check the contents and/or attributes of objects that are currently installed on the system, or in the indicated pkgmap. Package names may be listed on the command line, or by default, the entire contents of a machine will be checked. The second synopsis is used to list or check the contents of a package which has been spooled on the specified device, but not installed. Note that attributes cannot be checked for spooled packages. Options
The following options are supported: Operands
ExamplesExample 1 Using pkgchk for Displaying Package Installation InformationThe following example displays package installation information for /usr/bin/ls:
Example 2 Checking on Java Font PropertiesThe following example displays package installation information for all Java font properties installed on the system.
Example 3 Specifying a Path That Contains a CommaAssume you want to specify the path:
List this path in a file. Here is one way in which you can do that:
You can then enter:
Exit StatusAttributesSee attributes(5) for descriptions of the following attributes:
See AlsoNotesPackage commands are largefile(5)-aware. They handle files larger than 2 GB in the same way they handle smaller files. In their current implementations, pkgadd(1M), pkgtrans(1) and other package commands can process a datastream of up to 4 GB. Name | Synopsis | Description | Options | Operands | Examples | Exit Status | Attributes | See Also | Notes |
|||||||||