Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 1998 11:17:50 +0100
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        "Paul T. Root" <proot@horton.iaces.com>
Cc:        Questions FreeBSD <questions@FreeBSD.ORG>
Subject:   Re: AMD manual
Message-ID:  <34C5CB4E.DB043215@we.lc.ehu.es>
References:  <199801201741.LAA21289@horton.iaces.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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