Operating System - HP-UX
1833722 Members
2608 Online
110063 Solutions
New Discussion

What is the difference between the autoFS options AUTOMOUNT_OPTIONS and AUTOMOUNTD_OPTIONS

 
Gary Cooper_1
Esteemed Contributor

What is the difference between the autoFS options AUTOMOUNT_OPTIONS and AUTOMOUNTD_OPTIONS

nfsconf says that AUTOMOUNT_OPTIONS is for the automount command and AUTOMOUNTD_OPTIONS is for the automountd daemon, but where should I put the "-f $AUTO_MASTER" parameter?

Can I assign the value to both variables?

Thanks,

Gary Cooper
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: What is the difference between the autoFS options AUTOMOUNT_OPTIONS and AUTOMOUNTD_OPTIONS

If you are using the NEW automounter: autofs, AUTOFS=1, then set the AUTOMOUNTD_OPTIONS, otherwise use the older variables.

live free or die
harry
Live Free or Die
S.K. Chan
Honored Contributor

Re: What is the difference between the autoFS options AUTOMOUNT_OPTIONS and AUTOMOUNTD_OPTIONS

This is the way I do it. In my case I'm using the new automounter (ie my automounter processes are ..
# ps -ef|grep auto
....../usr/sbin/automountd
......autofs_proc
In my "nfsconf" file ..

AUTOMOUNT=1
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
....
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
AUTOFS=1
....

Because by setting AUTOMOUNT=1 and AUTOFS=1 I'm telling it to run the new automounter. And setting "-f $AUTO_MASTER" in AUTO_OPTIONS is good enough to take care of it.


Sajid_1
Honored Contributor

Re: What is the difference between the autoFS options AUTOMOUNT_OPTIONS and AUTOMOUNTD_OPTIONS

hello,

what you said is right. both these parameters are different. To answer your question, you have to put the entry with "AUTO_OPTIONS" and this will pass an option for automount command.

hth
learn unix ..