Todd Denniston <[EMAIL PROTECTED]> writes: > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > > Kelvin Edwards wrote: > > I am not sure, but it sounds, to me, like you are having the same kind of trouble > I had when trying to pass a timeout value. > I had to make the following changes to get that to work on slackware 7. > > --- auto.master (sometime) > +++ auto.master (now) > # mountpoint map options > # For details of the format look at autofs(8). > -/u auto.u --timeout 60 > +/u auto.u ---timeout 60 > > > The extra "-" was needed because some how an extra "-" was needed for rc.autofs to > pass the correct thing to automount. And then I figured out that for some reason > the order of the options to automount made a difference in it actually using the > timeout value... These changes worked for me YMMV. > > --- rc.autofs Wed Jan 5 12:19:07 2000 > +++ source_autofs/autofs-3.1.3/samples/rc.autofs Tue Nov 3 16:21:14 1998 > @@ -53,11 +50,11 @@ > map=`echo "/etc/$map" | sed -e 's:^/etc//:/:'` > options=`echo "$options" | sed -e 's/\(^\|[ \t]\)-/\1/g'` Why are we stripping a '-' off? > if [ -x $map ]; then > - echo "automount $options $dir program $map $localoptions" > + echo "automount $dir program $map $options $localoptions" > elif [ -f $map ]; then > - echo "automount $options $dir file $map $localoptions" > + echo "automount $dir file $map $options $localoptions" > else > - echo "automount $options $dir `basename $map` $localoptions" > + echo "automount $dir `basename $map` $options $localoptions" > fi > fi > done > @@ -77,7 +74,7 @@ > then > map=`echo "$map" | sed -e 's/^auto_/auto./'` > options=`echo "$options" | sed -e 's/\(^\|[ \t]\)-/\1/g'` > - echo "automount $options $dir yp $map $localoptions" > + echo "automount $dir yp $map $options $localoptions" The difference between where they are placed is whether the options are passed to automount itself or given to automount to pass on to mount. So are the options supplied in auto.master supposed to go to automount or be passed by automount to mount? -- ----------------------------------------------------------------------- | Simon Liddington | Tel (home) : 01703 237935 | | E-Mail : [EMAIL PROTECTED] | Tel (work) : 01420 544952 | -----------------------------------------------------------------------
