On Mon, Apr 07, 2008 at 04:31:28PM -0700, Jordan Brown (Sun) wrote: > Stephen Hahn wrote: > > Good question. Why would a forest of symlinks be better than a single > > directory symlink (/var/svc/manifest -> /etc/svc/manifest) or a layer > > just under that? > > When my package delivers a manifest into /var/svc/manifest, it is > required to deliver directory entries for /var, /var/svc, and > /var/svc/manifest. I'm not sure what happens when you install my > package onto a system where one of those is a symlink. I think the > symlink gets removed and replaced by a directory, but I'm not sure.
Required is a bit strong. We do it for SUNW pkgs, but a package without those directory entries will install just fine. A pkg with those entries will install with manual (or admin(4)) intervention in a system where /var/svc/manifest is a symlink. But why not make it a lofs mount and be done?