Re: [zones-discuss] Detect pkgs installed with -G?

2007-09-06 Thread Enda O'Connor ( Sun Micro Systems Ireland)
Ihsan Zaghmouth wrote: 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

Re: [zones-discuss] Detect pkgs installed with -G?

2007-09-06 Thread Enda O'Connor ( Sun Micro Systems Ireland)
Enda O'Connor ( Sun Micro Systems Ireland) wrote: Ihsan Zaghmouth wrote: 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

Re: [zones-discuss] Detect pkgs installed with -G?

2007-09-05 Thread Ihsan Zaghmouth
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

Re: [zones-discuss] Detect pkgs installed with -G?

2007-09-05 Thread Shawn Ferry
Jeff, Ihsan; You want the command pkgparam, examples below. Shawn On Sep 5, 2007, at 2:54 PM, Ihsan Zaghmouth wrote: 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

Re: [zones-discuss] Detect pkgs installed with -G?

2007-09-05 Thread Ihsan Zaghmouth
Much appreciated Shawn. Shawn Ferry wrote: Jeff, Ihsan; You want the command pkgparam, examples below. Shawn On Sep 5, 2007, at 2:54 PM, Ihsan Zaghmouth wrote: Hi Jeff, Here is my 2 cents, after assuming that pkginfo should hold such an information

Re: [zones-discuss] Detect pkgs installed with -G?

2007-09-05 Thread Ethan Quach
Two ways a pkg can be installed in the global zone only. a) SUNW_PKG_ALLZONES=false SUNW_PKG_THISZONE=true b) SUNW_PKG_ALLZONES=false SUNW_PKG_THISZONE=false # pkgadd was run with -G Trolling though the installed pkginfo files will give you (a), but not (b).