zones, file-systems and packages...
Hi,
Can someone please shed some light on this for me?
I don't quite understand how I could install a package into a non-global
zone if I chose to use the "sparse root model", and the file-systems from
the global zone were mounted loop-back.
I'd like to be able to keep the file-systems for individual zones as small
as possible without sacrificing the ability to install packages ONLY to a
zone and not to the global zone as well.
Cheers
[496 byte] By [
nzirdos] at [2007-11-26 10:48:38]

# 1
In general, you can't.
But it depends on the package
The default is to make /usr lookback mounted.
And /opt private. So if the package in general is one that installs files only in /opt or in /usr/local
like the packages off sunfreeware, then theres no problem.
But if the package installs any files /usr then you need a full root zone.
# 2
Thanks Robert,
Unfortunately you confirmed what I gathered from the
documentation. Oh well, a space-wasting full root zone
it is, then. Are there any plans to add something a la
union-fs or the blessed TorontVFS that I used to use
under OS/2 back in the day? :}
Cheers
# 3
None that I'm aware of.
While the installation may be annoying (because the 'pkgadd just isn't going to grok it'), you can often get things on a zone even though /usr is shared.
You can mount individual files and directories within /usr and such. If you have lots and lots of mounts, I suppose that would just be too annoying. But if there's only one shared object or so, then it might not be too bad.
--
Darren
# 4
Thanks again, Darren,
and what a shame :)
Those are very handy features to have. I admit that if it
were just a couple of files (or the odd directory) one could
use mounts; it's just a step backwards from my perspective.
As I said - I've used TorontoVFS on OS/2, I think it was about
8 years ago that I "applied" patches to an installation CD
(I didn't have a burner then) using this method. And I love it :)
Cheers