On 07/29/11 09:00 AM, Enda O'Connor wrote:
On 07/29/11 16:18, Bart Smaalders wrote:
On 07/29/11 01:13 AM, Enda O'Connor wrote:

I've closed this out, so variant.opensolaris.zone is not an indicator on
it's own of a file being global only, how does one search for files that
are truely gloabl zone only?

Sorry - I don't understand. If I install the file in the global
zone with one set of permissions, say, and in the local zone with
a different set of permissions, the same file is installed in
both - but differently.

Why do you care about the file here?

- Bart


Hi
I guess I'd like to know what files from a package are installed where,
say I do a pkg search, then check for variant.opensolaris.zone and if it
says global i assumed it was a global zone only file.

In an ipkg zone I probably do want to know what files will get installed
perhaps assuming I'm interested in a particular file.

I'm not worried about permissions just whether the thing will be
installed or not.

Does pkg contents in the ipkg zone only list files it will install?
Perhaps I'm in too deep here.
On the other hand if I'm planning to provision an ipkg zone, how do I
determine if some thing I'm interested in installs or not?
Enda

If the file appears without a variant tag for variant.opensolaris.zone
or has variant.opensolaris.zone=nonglobal, it will be installed in
a zone.

The same file may be installed in the global zone, possibly w/ different
attributes.

You can always search for the path to find all the matching actions.

Note that the same file could be installed with a different path;
to find that you'd need to search by hash.

- Bart


--
Bart Smaalders                  Solaris Kernel Performance
[email protected]       http://blogs.sun.com/barts
"You will contribute more with Mercurial than with Thunderbird."
"Civilization advances by extending the number of important
 operations which we can perform without thinking about them."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to