From owner-freebsd-questions Thu Mar 30 07:50:20 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA01001 for questions-outgoing; Thu, 30 Mar 1995 07:50:20 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id HAA00995 for ; Thu, 30 Mar 1995 07:50:18 -0800 Received: by halloran-eldar.lcs.mit.edu; id AA16327; Thu, 30 Mar 1995 10:49:52 -0500 Date: Thu, 30 Mar 1995 10:49:52 -0500 From: Garrett Wollman Message-Id: <9503301549.AA16327@halloran-eldar.lcs.mit.edu> To: Thomas Krebs Cc: kelly@fsl.noaa.gov (Sean Kelly) (Sean Kelly), questions@FreeBSD.org Subject: Re: Problems with NIS and amd In-Reply-To: <9503300722.AA00658@behaim.faps.uni-erlangen.de> References: <9503292100.AA15902@junco.fsl.noaa.gov> <9503300722.AA00658@behaim.faps.uni-erlangen.de> Sender: questions-owner@FreeBSD.org Precedence: bulk < 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