Hi Jeff,

Here is my 2 cents, after assuming that pkginfo should hold such an information post installation.
The /var/sadm/pkg/<pkgname>/pkginfo file lists among other info the SUNW_PKG_ALLZONES=true | false for the installed package.
pkginfo should have an option to display that, I tried them all ... in vain !

if you write a small script, you can display the /var/sadm/pkg/<pkgname>/pkginfo, you should be able to distinguish:
:
cat /var/sadm/pkg/<pkgname>/pkginfo | grep SUNW_PKG_ALLZONES, and if:
  1. SUNW_PKG_ALLZONES=true  ... Then installed on all Zones
  2. SUNW_PKG_ALLZONES=false ... Only Global -G
Ihsan

Jeff Victor wrote:
How can someone learn whether a package was installed in the global zone 
*with* -G - or without it?

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org
  

--
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to