> Does anyone know of a good way to find out which Solaris package
> installs a certain file? Specifically, I need to find out which package
> libsched.so belongs to.
Thanks to everyone who replied. I received so many replies that I can't
thank everyone in this message. It turns out that there are 2 good ways
to do this, and Kevin Maguire pointed out both, so I'm using his reply
as the summary.
2 ways:
% fgrep libsched.so /var/sadm/install/contents
/usr/lib/libsched.so=./libsched.so.1 s none SUNWcsu
/usr/lib/libsched.so.1 f none 0755 bin bin 6124 35928 869026291 SUNWcsu
% pkgchk -l -p /usr/lib/libsched.so.1
Pathname: /usr/lib/libsched.so.1
Type: regular file
Expected mode: 0755
Expected owner: bin
Expected group: bin
Expected file size (bytes): 6124
Expected sum(1) of contents: 35928
Expected last modification: Jul 16 06:11:31 1997
Referenced by the following packages:
SUNWcsu
Current status: installed
Way 1 is quickest.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:10 CDT