Using the Package System Log File

The package commands maintain a list of installed packages in the /var/sadm/install/contents file.You can use the pkgchk -v pkgid command to list the files contained in a package. The following example (truncated to save space) lists the files contained in the SUNWebnfs package.

castle# pkgchk -v SUNWebnfs /opt/SUNWebnfs /opt/SUNWebnfs/JFileChooser-patch /opt/SUNWebnfs/JFileChooser-patch/com /opt/SUNWebnfs/JFileChooser-patch/com/sun /opt/SUNWebnfs/JFileChooser-patch/com/sun/java /opt/SUNWebnfs/JFileChooser-patch/com/sun/java/swing /opt/SUNWebnfs/JFileChooser-patch/com/sun/java/swing/plaf /opt/SUNWebnfs/JFileChooser-patch/com/sun/java/swing/plaf/windows ...

Get Solaris™ 8 Advanced System Administrator's Guide, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.