PDA

View Full Version : autofs and ncp



tbrinkmann
28-Nov-2012, 14:29
Hi,
im trying to use autofs to mount ncp share.

1. I can use fstab with a passwdfile to mount my test folder /nwtest no problem here
2. I try to use auto first configure /etc/auto-mast
echo "/nwtest /etc/auto.net >> /etc/auto.master
3. I create the auto.net file
Question1: What is identifier in the auto.net file the mount point ?

nwtest -fstype=ncp defaults,mode=777,ipserver=testpool1,nonfs,uid=roo t,uid=root,owner=root,volume=TESTVOL1,passwdfile=/etc/edir-passwords,multiple,timeout=900 0 0


? Or what autofs needs to know for the first word(nwtest) ? the mountpoint or the networkshare name ?
4. The password file
Q2 What is the identifier here if i use fstab i used the share name

/etc/fstab/-->testpool1/.admin.test /nwtest ncp defaults,passwdfile=/etc/edir-passwords
etc/edir-passwords-->nwtest/.admin.test:SOMEPASSWORD

5.Q3 Does autofs need fstab entrys ?

Thanks for help
*T

tbrinkmann
30-Nov-2012, 12:06
Question1: What is identifier in the auto.net file the mount point ? in this case /nwtest right ?

A: Yes, Autofs uses the /nwtest folder now to mount all subfolder configured in auto.direct

Q2 What is the identifier here if i use fstab i used the share name

A: The subfolder that used for mount e.g nwtest/testmount

Q3 Does autofs need fstab entrys ?

A:No