From owner-freebsd-questions Wed Jan 21 02:19:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA10866 for questions-outgoing; Wed, 21 Jan 1998 02:19:30 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA10857 for ; Wed, 21 Jan 1998 02:19:20 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es by polaris.we.lc.ehu.es (SMI-8.6/SMI-SVR4) id LAA24376; Wed, 21 Jan 1998 11:17:51 +0100 Message-ID: <34C5CB4E.DB043215@we.lc.ehu.es> Date: Wed, 21 Jan 1998 11:17:50 +0100 From: "Jose M. Alcaide" Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.5.1 sun4u) MIME-Version: 1.0 To: "Paul T. Root" CC: Questions FreeBSD Subject: Re: AMD manual References: <199801201741.LAA21289@horton.iaces.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk Paul T. Root wrote: > > Hi, > I'm setting up the amd automounter and was wondering what kind of > things I can put in amd.map. It seems that the only thing that would > explain it is SMM:13, but I can't find it on-line (I guess I'll call > Computer Literacy :-), but in the mean time, is there any online manual. > > Is there a way to set up auto_home (from Solaris) like thing? > Yes, there is. Suppose you have an auto_home map like this: user1 serverA:/export/home/dirX/user1 user2 serverA:/export/home/dirX/user2 user3 serverA:/export/home/dirY/user3 user4 serverB:/export/home/dirZ/user4 Then, an equivalent AMD map (/etc/amd.home, for example) would be: /defaults type:=nfs;opts:=rw,nosuid;sublink:=${key} user1 rhost:=serverA;rfs:=/export/home/dirX user2 rhost:=serverA;rfs:=/export/home/dirX user3 rhost:=serverA;rfs:=/export/home/dirY user4 rhost:=serverB;rfs:=/export/home/dirZ And you should start AMD using the following options (setting amd_flags in /etc/rc.conf): amd -a /net -c 1800 -k i386 -l syslog /home /etc/amd.home -- JM ----------------------------------------------------------------------- Jose M. Alcaide | mailto:jose@we.lc.ehu.es Universidad del Pais Vasco | http://www.we.lc.ehu.es/~jose Dpto. de Electricidad y Electronica | Facultad de Ciencias - Campus de Lejona | Tel.: +34-4-4647700 x2624 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-4-4858139 ----------------------------------------------------------------------- "Go ahead... make my day." - H. Callahan