Peter Bunclark wrote:
> 
> On 7 Mar 2000, Camm Maguire wrote:
> 
> > > > Handling + in auto_master would be nice.  The + as an entry in a map
> > > > is utterly and fundamentally broken (a map is an associative lookup,
> > > > d**** it!)
> > >
> >
> > Handling included maps would indeed be a useful kludge.  But one
> > requiring significant effort, it seems.  How about just for now using
> 
> Isn't it really the case that a text file is not a map, it is one of the
> sources for a map.  The actual automounter map is the parsed concatenation
> of all input sources, with `+' being a directive to tell the parser
> how to proceed during the input processs?

Not really.  Furthermore, "+" doesn't tell you what kind of "+" are you
talking about (yp?  nisplus?)

The Linux autofs multimaps are more powerful, but requires a different
syntax which is awkward to fit into the rather cruddy auto_master
format.

> In our Solaris cluster, we make a lot of use of being able to tweak, or
> override, bits of the global NIS+ maps with little local /etc/ maps; it's
> a powerful function.

Yes it is.  It's just how it is done which is idiotic.  The autofs
"multi" maps allows you to specify any number of maps to be searched in
any order, without putting crud into the maps themselves.

        -hpa

Reply via email to