Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 1995 10:49:52 -0500
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        Thomas Krebs <krebs@faps.uni-erlangen.de>
Cc:        kelly@fsl.noaa.gov (Sean Kelly) (Sean Kelly), questions@FreeBSD.org
Subject:   Re: Problems with NIS and amd
Message-ID:  <9503301549.AA16327@halloran-eldar.lcs.mit.edu>
In-Reply-To: <9503300722.AA00658@behaim.faps.uni-erlangen.de>
References:  <9503292100.AA15902@junco.fsl.noaa.gov> <9503300722.AA00658@behaim.faps.uni-erlangen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 30 Mar 95 9:20:42 MESZ, Thomas Krebs <krebs@faps.uni-erlangen.de> said:

> How to start amd to mount every possible host under /vhe that can be found in
> hosts.byname??

amd is not designed to work that way.

The correct way to do what I think you want to do is as follows:

wollman@khavrinen(25)$ cat /etc/net.map 
/defaults       type:=host;fs:=${autodir}/${rhost}/root;rhost:=${key}
# in here you could specify certain hosts that get different options
*               opts:=rw,nosuid,grpid

# amd -x noinfo /net /etc/net.map

Another thing that you absolutely positively have to watch out for is
that you CANNOT have two `amd' processes at the same time, or you will
lose big-time.  You have to start all automounts from a single command
line.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503301549.AA16327>