Ok, some of these are easy enough:
* resolv.conf
* NIS server(s)
* NFS mounts in vfstab

But the killer is automounts; finding every possible one, and what would
be affected, based on multiple naming services (as an example files and nis,
in whichever order), multiple maps (not necessarily just the out-of-the-box
ones), etc is a real pain.  I'm not sure any script would do as good a job.
And the getmapent() code is compiled into automount, rather than part of
the nss_* backends, so nothing else can use it, meaning anything else can
only approximate what automount would do.

Sure would be nice to have an automount option that didn't _change_ anything,
but dumped a full enumeration of all the maps (not expanding the
* to & equivalence of course).  That way one could discover all these
dependencies, and be aware of potential problems, in case of e.g.
maintenance affecting some subset of servers but not all.

Any existing solutions (a really brilliant perl script, or something actually
based on automount code), or any reasonable chance of getting such
a new automount option?
-- 
This message posted from opensolaris.org

Reply via email to