SUMMARY: Automount +includes

From: Mark Wiederspahn (markw@utig.ig.utexas.edu)
Date: Wed Feb 05 1992 - 19:10:50 CST


Original problem:

We want to daisy chain 2 NIS maps in the direct map:

        automount /- auto.direct

                #auto.direct (an NIS map)
                local stuff
                +other-map

                        #other-map (an NIS map)
                        local stuff

Everyone who had done anything similar has used *files*, not
NIS maps. Several pointed out that you must cd /etc before
invoking automount if you don't put full pathnames in the
+filename includes.

It may be possible to include an NIS map from a file.

Nobody has gotten two NIS maps to work.

I ended up writing a recursive program which builds the various target
source files on the NIS server by reading and following +includes,
so maintenance of these becomes easier. We have 6 different disk
sub-groups within our NIS domain, so remembering what is common
and what is separate is a chore, which is why NIS is used in
the first place!

Thanks to:

        Fergus J. O'Reilly <fergus@capsogeti.fr>
        Rhod Davies <rhod@computer-science.manchester.ac.uk>
        david@srv.PacBell.COM (David St. Pierre)
        sitongia@ozzel.hao.ucar.edu (HAO Computer System Managment Group)
        zjat02@trc.amoco.com (Jon A. Tankersley)

mw



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:35 CDT