Oracle Solaris 10: The package and patch tools were enhanced in Oracle Solaris 10 to provide improved performance and extended functionality.
As a part of these enhancements, the pkgchk command now provides a new option to assist you in mapping files to packages. To map files to packages, use the pkgchk -P option instead of grep pattern/var/sadm/install/contents. The -P option enables you to use a partial path. Use this option with the -l option to list the information about the files that contain the partial path. For more information see How to Check the Integrity of Installed Objects ( pkgchk -p, pkgchk -P) and the pkgchk(1M) man page.