autofs 3.1.7-21 supports the -D flag; we use it alot.
your test case is broken. automounter can't run with JUST the -D flag, it doesn't have enough arguments. try adding a -D flag to an already-working coammand line and see what happens. note that -D arguments aren't correctly passed to child automounter processes that get created as "submounts", which occur when you have maps with "-fstype=autofs" in them. I have a patch in to redhat with a work-around, and I'm hoping they will find a better fix and publish an errata. -skottie Andy Elmer wrote: > > Hello, > > I was wondering if there was some way of setting the substitution > variables in autofs to specific values? (example. OSREL=2.4 ). > > From the autofs.5 man page I saw the following regarding variable > substitution: > Additional entries can be defined with the -Dvariable=Value > option to automount(8). > > However, the "automount" binary which comes with Redhat 7.3 doesn't > seem to recognize the -D option. > # automount -DOSREL=2.4 > /usr/sbin/automount: Ambiguous or unknown options > > Am I doing something wrong, or is there another way of doing this? > Thanks! > > Andy > _______________________________________________ > autofs mailing list > [EMAIL PROTECTED] > http://linux.kernel.org/mailman/listinfo/autofs _______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs
