Mattias R�nnblom wrote:
> 
> Hi,
> 
> I've modified the autofs startup script to support Sun style external
> map substitution.
> 
> You can put something like
> 
> +auto_foo
> 
> in you maps and the auto_foo file or NIS map will be inlined. It _seems_
> to work on my site. Sorry for any stupid mistakes, but I'm not in
> any way a sh hacker.
> 

It's clever, but wrong: you will not pick up changes to your NIS map
without a reboot.  I hate the "external map" syntax, because it breaks
the database model.  What it is really asking for is the union of two
databases, usually one NIS and one file.  This isn't totally
unreasonable, but I'd rather to it in a sane way.  One possibility is to
have a syntax like this:

        automount [auto_opts] /auto file [file_opts] \; yp [yp_opts]

Remember that anything after the lookup method are arguments to the
lookup method.

        -hpa

Reply via email to