🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7725

Re: Automount trouble?

#7725
From: phil
Date: Fri, 10 May 1991 13:03
41 lines
2097 bytes
In article <2640@brchh104.bnr.ca>, gt1111a@prism.gatech.edu (Vincent Fox)
writes:
> Does automount work for any of you under SunOS 4.1.1?
> 
> I make 2 new NIS maps:
> 1)auto.master, containing:
> auto.cae
> 2)auto.cae, containing
> /storage	-ro,intr	cadnext2:/storage
> 
> When I crank up automount with either "/usr/etc/automount" or
> "/usr/etc/automount /- auto.master", it disappears as soon as I call it.

I fought this one for a day (ULTRIX 4.x, SUNOS 4.1.X).
I created an auto.master as follows:
#
/- /etc/auto.direct

and then a file auto.direct as follows:
#
/share\
	/	 -rw,soft server:/share \
	/bin -rw,soft server:/share/bin \
	/src -rw,soft server:/share/src
/usr/man -rw,soft server:/usr/man
/usr/demo -rw,soft server:/usr/demo
/usr/openwin/demo -rw,soft server:/usr/openwin/demo

Be sure to invoke automount from rc.local like:
automount -f /etc/auto.master
Otherwise, the automounter will look for a NIS map.

This example shows how to do a directory hierarchy.

The only problems I have, are that the automounter cannot be refreshed.
The machine needs to be rebooted when a change is made to auto.direct.  A
kill -HUP PID does not work.  And if a manual page is added to
/usr/man/mann (we made this one world writable), all machines that
automount /usr/man get stale NFS mounts when dismounting /usr/man. 

Phil Meyer         phil@arco.com  Work:(214) 754-6805                      | +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
Technical Details
Message-ID: <2796@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: phil@arco.com
Newsgroups: comp.sys.sun
Subject: Re: Automount trouble?
Keywords: Miscellaneous
Message-ID: <2796@brchh104.bnr.ca>
Date: 10 May 91 13:03:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 42
Approved: Sun-Spots@rice.edu
X-Original-Date: Wed, 1 May 1991 01:35:04 GMT
X-Refs:  Original: v10n91, Replies: v10n99
X-Sun-Spots-Digest: Volume 10, Issue 100, message 21
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu