Subject: Re: amd(8) vs. autofs
To: None <tech-net@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-net
Date: 05/15/2002 15:43:55
In article <ab1m3c$bc1$1@colwyn.zhadum.de>,
Matthias Scheler <tron@zhadum.de> wrote:
>
>How? I cannot find anything about this feature amd(8) and amd.conf(5).

I use something like:

amd.conf:

	...
	auto_dir = /net
	...
	[ /data ]
	map_name =	amd.data
	map_type =	nis


amd.data:

	/defaults       type:=nfs;sublink:="${key}";\
			opts:=rw,hard,intr,nodevs,nosuid

	...

	# Data Backoffice
	backoffice      rhost:=dwdv2;\
			rfs:=${autodir}/${rhost}/data-3;fs:=${rfs}

	# Corporate Actions
	corpactions     rhost:=dwdv4;\
			rfs:=${autodir}/${rhost}/data-8;fs:=${rfs}

	...

christos