The inherit-pkg-dir resource cannot be changed after
the zone has been installed.

You can either change the zone's /etc/vfstab to
automate the mounts,
or you may want to use "fs" resource of zonecfg.

Say this is to mount global zone's /opt/netbeans-5.0
directory which you forgot to inherit

zonecfg -z <zone>
zonecfg> add fs
zonecfg:fs> set dir=/opt/netbeans-5.0
zonecfg:fs> set special=/opt/netbeans-5.0
zonecfg:fs> set type=lofs
zonecfg:fs> end

and reboot the zone. You can use /opt/netbeans-5.0
in the local zone now.

thanks
- Amol

----- Original Message -----
From: Michael Barrett <[EMAIL PROTECTED]>
Date: Monday, June 12, 2006 7:59 pm
Subject: [zones-discuss] forgot to inherit a directory
To: zones-discuss@opensolaris.org

> Let's say you forgot to inherit an application
directory from the 
> global 
> zone when you first created a local sparse zone. 
Do you have to 
> manually lofs mount the global zone directory of
interest into the 
> local 
> zone every time you reboot, or can you somehow
change the local 
> zone 
> definition and reboot it to get it to inherit the
directory from 
> now on?
> 
> Thanks,
> Mike
> 
> 
> _______________________________________________
> zones-discuss mailing list
> zones-discuss@opensolaris.org
> 
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to