There are at least two simple ways:
- Look into
/var/sadm/install/contents
file, or - Run
/usr/sbin/pkgchk
with-l, -p
as options and the absolute path as argument
To find out what package
/usr/sbin/fcinfo
belongs to:# grep /usr/sbin/fcinfo /var/sadm/install/contents | awk '{ print $10 }' | sort -uOr
SUNWfcprt
# pkgchk -l -p /usr/sbin/fcinfo
Pathname: /usr/sbin/fcinfo
Type: regular file
Expected mode: 0555
Expected owner: root
Expected group: bin
Expected file size (bytes): 50784
Expected sum(1) of contents: 49262
Expected last modification: Dec 04 05:22:58 2006
Referenced by the following packages:
SUNWfcprt
Current status: installed
__________
Technorati tags:
Solaris | OpenSolaris
No comments:
Post a Comment