W. Wayne Liauh writes:
> > (Don't use a symlink, as packages delivering that
> > directory will
> > blow away the symlink and just make a mess of
> > things.)
> >
> > ames Carlson, Solaris Networking
> > <[EMAIL PROTECTED]>
>
>
> Ha, wish we had known this b/f we made the mess of things (& still have no
> clue of what was going on)! Thanks a whole bunch.
Converting from symlink to lofs mount for package-delivered
directories is trivial, so I'll assume you don't need instructions.
Cleaning up the mess means merging back together two directory trees.
If you had this before the errant package install:
/opt/csw -> /export/csw
/export/csw/...
then you'll have this afterwards:
/opt/csw/...
/export/csw/...
In other words, the symlink is removed by packaging (you'll see a
conflict go by, but almost everyone says "yes" to pkgadd because it
asks too many darned questions), and you're left with two independent
directories, each with half the content.
To fix, either:
- Manually move the bits from under /opt/csw/... to the
corresponding location under /export/csw/..., leaving behind
an empty /opt/csw/ directory as a mount point. Then create
the lofs mount.
- Use pkgrm to remove all of the _new_ packages in /opt/csw.
Create the lofs mount and reinstall those packages.
--
James Carlson, Solaris Networking <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
[email protected]