Kelvin Edwards wrote:
> 
> It is not in the automount.c code where I expected it
> to be so that a call to automount -Dvar=value would work.
> My auto.master file looks similar to the following:
> 
> /u      auto.u  --timeout 60
> 
> where auto.u is a yp map similar to:
> 
> home    -rw     fs:/home
> 
> Where should I put the -D option ?  In the
> auto.u or auto.master file ? When I put it in
> the auto.master file, the automount did not
> recognize the option, leading to a perusal of
> the automount daemon code where I could not find
> any mention of it. I apologize if it is indeed
> implemented.
> 

auto.master is parsed by a distribution-dependent script.  I utterly
despise the format of auto.master; it has *so* many problems it isn't
even funny.  It's just there so auto.master NIS maps will be sharable
with Suns. If it was up to me, I'd have an /etc/automount.conf which
would simply be the list of automount command lines to execute, i.e.
something like:

-t 60 /u file /etc/auto.u
/home yp auto.home rsize=8192,wsize=8192

        -hpa

-- 
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."

Reply via email to