Peter Bunclark wrote:
> 
> 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?
> 

This is, still, though, a reasonable idea for how to implement this,
*besides* the obvious problem that there is no real way to distinguish
between YP and NIS+ (which one are you asking for, here?) that I know
of.

In technical terms, this would involve lookup_file calling lookup_yp or
lookup_nisplus on failure.  It would also involve substantial overhead
over the normal operation in either case.

        -hpa

Reply via email to