Subject: Re: simple example for amd?
To: John M Vinopal <banshee@gabriella.resort.com>
From: Ron Roskens <roskens@cs.umn.edu>
List: current-users
Date: 01/04/1996 09:57:35
Thus spake John M Vinopal:
>
>
> I'd like to use amd to mount a file system (/dev/sd0f aka /usr/local)
> on another machine as "/usr/local".
>
> I'm working with a map file of the form:
>
> usr/local -opts:=rw \
> -type:=nfs;rhost:=gabriella;rfs:=/usr/local
>
> but I can't see any data in the amd mounted 'thing'. Could someone
> provide a simple map file and the amd command line for this problem?
> Thanks.
Try using this:
---< amd.project >---
/defaults type:=nfs;opts:=rw,soft,intr,grpid
local \
host==gabriella;type:=link;fs=/usr/local ||\
host!=gabriella;rhost:=gabriella;rfs:=/usr/local
---< amd.master >---
/project amd.project
Then you'll need to create a link from /project/local to /usr/local
on the client machine...
Ron