autofs 4.0.0 (pre1)

H. Peter Anvin hpa en transmeta.com
Mie Ene 26 11:18:19 CST 2000


Followup to:  <XFMail.000125234916.jeremy en goop.org>
By author:    Jeremy Fitzhardinge <jeremy en goop.org>
In newsgroup: linux.dev.kernel
> 
> > Other minor points:
> > -     /etc/rc.d/init.d/autofs has a line which had to be removed in order
> >       to permit options such as "--timeout 60" in /etc/auto.master. I dunno
> >       what
> > 
> >               options=`echo "$options" | sed -e 's/\(^\|[ \t]\)-/\1/g'`
> > 
> >       is supposed to do at /etc/rc.d/init.d/autofs:85 but it stripped the
> >       first dash of my "--timeout 60" option.
> > -     automount --timeout option seems to be ignored: "ps aux" says
> >       automount is invoked with "--timeout 60", /var/log/messages says
> >       "300 secs, freq 75". Actual behavior is conform /var/log/messages.
> 
> I'll look into these.
> 

No, this is user/script error.  --timeout and other options need to be
specified *before* the map name and type, not after, unlike filesystem
options.

	  -hpa
-- 
<hpa en transmeta.com> at work, <hpa en zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda