All of lore.kernel.org
 help / color / mirror / Atom feed
* autofs5 variable substitution
@ 2010-05-08  4:00 Peter Bajurny
  2010-05-09  3:56 ` Ian Kent
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Bajurny @ 2010-05-08  4:00 UTC (permalink / raw)
  To: autofs

I apologize if this is the wrong place for this, but my Googling has 
come up empty and I find myself at a loss.

In our enviroment we do automounts based on the OSNAME and OSREL 
variables.  With autofs4 and the sun automounter we manually specify the 
values of OSNAME and OSREL in the init scripts.  In the autofs4 init.d 
script there is a line for 'localoptions' where I can set '-DOSNAME=name 
-DOSREL=rel'.  But I can't for the life of me figure out how to set this 
with an autofs5 init script.  The init script specifies a confdir and 
the autofs file there.  I tried adding 'OPTIONS="-DOSNAME=name 
-DOSREL=rel"' to that line, and the automountd process started with 
those correct flags, but then it wasn't able to mount anything from my 
automount maps.  I also tried using LOCALOPTIONS instead of OPTIONS and 
that didn't do anything.

So I'm stuck.  Is there documentation somewhere on the configuration 
options I can pass to the init script?  Is what I'm trying to do 
possible anymore with autofs5

Thanks for the help,
Peter Bajurny
University of Minnesota Computer Science

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-11  2:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-08  4:00 autofs5 variable substitution Peter Bajurny
2010-05-09  3:56 ` Ian Kent
2010-05-10 17:04   ` Peter Bajurny
2010-05-10 17:38     ` Peter Bajurny
2010-05-11  2:12       ` Ian Kent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.