Subject: Re: BSD Automounter and stuff
To: None <port-amiga@NetBSD.ORG>
From: Matthias Scheler <tron@lyssa.owl.de>
List: port-amiga
Date: 12/29/1996 14:10:57
In article <Pine.NEB.3.95.961227113527.2680A-100000@vishnu.arc.nasa.gov>,
	Don Sullivan <sullivan@gaia.arc.nasa.gov> writes:
> 
> I would really appreciate it if someone who
> has figured out the syntax of the amd master

"/etc/amd/master":
/homes	/etc/amd/homes

With this configuration "amd" will monitor "/homes" - an empty directory
with that name should exist.

> and mount files to send me examples.

"/etc/amd/homes":
/defaults	type:=nfs;opts:=rw,intr,nosuid,nodevs

myhost	type:=link;fs:=/home
*	rhost:=${key};rfs:=/home

"/homes/myhost" will be redirected to "/home", "/homes/foobar" will mount
"/home" from host "foobar".

If you use this map you can automount any homes filesystem by accessing
"/homes/hostname" no matter wether if it's a local or remote filesystem.

-- 
Matthias Scheler				http://home.pages.de/~tron/