Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!wuarchive!cs.utexas.edu!rice!rice!sun-spots-request From: apctrc!merlyn!zjat02@uunet.uu.net (Jon A. Tankersley) Newsgroups: comp.sys.sun Subject: Re: Help doing automount? Keywords: Miscellaneous Message-ID: <1990Aug13.010240.4397@rice.edu> Date: 11 Aug 90 01:49:32 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 53 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 298, message 13 X-Refs: Original: v9n296 In article <1990Aug7.003518.2059@rice.edu> baur@venice.sedd.trw.com (Steven L. Baur) writes: >X-Sun-Spots-Digest: Volume 9, Issue 296, message 2 > >Would somebody please send me an auto.master file that works?. (And say >what it does). I'd like info concerning both 4.0.3 and 4.1, but will take >what I can get. Thanks in advance. > >steve baur@venice.SEDD.TRW.COM Here is what I have been able to kludge together with Sun's automount: The control files are the same for 4.0.x and 4.1, but the invocation is different. In 4.1 /etc/rc.local is acting from /etc. Hence the setup in my auto.master. In 4.0.3 it doesn't do this, hence add (cd /etc; automount -f .....; ) & echo -n ' automount' >/dev/console auto.master: /home auto.home rw,intr,bg,hard /- auto.direct rw,intr,bg,hard /net -hosts rw,intr,bg,hard /data auto.data rw,intr,bg,hard auto.home: hostb &:/export/home/& hosta &:/export/home/& hostc &:/export/home/& hostd &:/export/home/& * &:/home/& auto.direct: /dist hostb:& /explprod hosta:/dist/sun4/& /usr/ingres hosta:& auto.data: hosta \ /data1 hosta:/data/apctrc/data1 \ /data2 hosta:/data/apctrc/data2 hostd \ /data1 hostd:/export/data/data1 \ /data2 hostd:/export/data/data2 I haven't been able in 4.1 or 4.2 to get NIS/YP auto.master to be obeyed at all. But with the auto.master above all NIS clients can pick up the auto.home,direct,-hosts, and data from NIS maps if automount is started from /etc with automount -m -f /etc/auto.master. Why /etc/auto.master is required is beyond me. -tank- -- -tank- #include /* nobody knows the trouble I .... */ tank@apctrc.trc.amoco.com ..!uunet!apctrc!tank