Re: [zones-discuss] Making directories in /usr visible (from global zone) in non-global zone

2009-02-12 Thread Konstantin Gremliza
Other possibilities to find out if its sparse or whole root from within the local zone: - touch /usr (should not work in sparse zone) - df -n /usr (reports lofs) Konstantin Gremliza Jeff Victor schrieb: On Tue, Feb 10, 2009 at 12:26 AM, Arun Gupta arun.gu...@sun.com wrote:

Re: [zones-discuss] Making directories in /usr visible (from global zone) in non-global zone

2009-02-11 Thread Jeff Victor
On Tue, Feb 10, 2009 at 12:26 AM, Arun Gupta arun.gu...@sun.com wrote: Thanks Jeff, How do I know whether it's a sparse-root or whole-root zone ? From the global zone, use zonecfg -z zonename info and look for entries about inherit-pkg-dir. If there are four (/usr, /lib, and two others) then

Re: [zones-discuss] Making directories in /usr visible (from global zone) in non-global zone

2009-02-10 Thread Arun Gupta
Here is what I tried in my OS Virtual Box image: - created 2 zones (http://blogs.sun.com/arungupta/entry/totd_68_installing_zones_in) - installed GlassFish in /usr/glassfish - created another zone In all the zones, /usr/glassfish is not visible. Manually created /usr/foo and even that's

Re: [zones-discuss] Making directories in /usr visible (from global zone) in non-global zone

2009-02-10 Thread James Carlson
Arun Gupta writes: Here is what I tried in my OS Virtual Box image: - created 2 zones (http://blogs.sun.com/arungupta/entry/totd_68_installing_zones_in) - installed GlassFish in /usr/glassfish How? If it's via SysV packages, then it sounds like those packages might not be

Re: [zones-discuss] Making directories in /usr visible (from global zone) in non-global zone

2009-02-09 Thread Jeff Victor
Is it a sparse-root zone or a whole-root zone? It should be visible in a sparse-root, but a whole-root zone has its own separate copy of /usr. On Mon, Feb 9, 2009 at 6:50 PM, Arun Gupta arun.gu...@sun.com wrote: I installed GlassFish in global zone in /usr directory. However this directory