Solaris > How to find file (/path/to/somefile) belongs to which package?

by on February 1, 2005 · 0 comments· LAST UPDATED February 1, 2005

in

1) You can use the command pkgchk, to find out file /usr/bin/volcheck belongs to which package:
# pkgchk -l -p /usr/bin/volcheck
Pathname: /usr/bin/volcheck
Type: regular file
Expected mode: 4555Expected owner: root
Expected group: bin
Expected file size (bytes): 6044
Expected sum(1) of contents: 14489
Expected last modification: Nov 04 16:15:49 2002
Referenced by the following packages:
SUNWvolu
Current status: installed

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Previous post:

Next post: