Re: autofs 4.0.0 (pre1)

From: H. Peter Anvin (hpa@transmeta.com)
Date: Wed Jan 26 2000 - 03:25:50 EST


Followup to: <XFMail.000125234916.jeremy@goop.org>
By author: Jeremy Fitzhardinge <jeremy@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@transmeta.com> at work, <hpa@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@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:16 EST