[zones-discuss] Re: Changing a zone's inherit-pkg-dir

2007-05-10 Thread F.V.(Phil)Porcella
Hi,
I was wondering if that trick of adding an additional directory (mount point?)
that you outlined below, would work more than once?

zonecfg -z
zonecfg add fs
zonecfg:fs set dir=
zonecfg:fs set special=
zonecfg:fs set type=lofs
zonecfg:fs end

I tried to use the dir and special during the initial configuration of a zone 
and
it only excepted one of them.  Also, how many directories can you have 
inherited 'initially'
before you install the zone?

Thank you.
Phil
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Re: Changing a zone's inherit-pkg-dir

2007-05-10 Thread Bob Netherton
On Thu, 2007-05-10 at 13:18 -0700, F.V.(Phil)Porcella wrote:

 I tried to use the dir and special during the initial configuration of a zone 
 and
 it only excepted one of them.  Also, how many directories can you have 
 inherited 'initially'
 before you install the zone?

I'm sure there's a limit out there somewhere and it's very likely to be
way beyond what is practical.   On most of my systems I also add /opt to
the inherited-pkg-dir list.   On laptop configurations where space is at
a premium this can turn into a dozen or so mounts (compilers, blastwave,
companion, local docs, etc). 

inherit-pkg-dir is a special case of a read-only loopback mount that is
very important during the installation of a zone (ie, the initial 
lu copy list is significantly smaller and it's OK to fail file creates
in the subsequent pkgadds).

So this all works as advertised.  If you are having problems then post
your zone XML file or the output from a zonecfg -z zonename info and
we'll see if we can spot where things are going wrong.


Bob

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