Thanks David.
Two questions? Where is the ${key} refer to? Since I do not see it defined
anywhere. And instead of /homes would it not be acceptable to use /net?
I had begun setting up a /etc/amd.conf and a /etc/amd/amd.net file.
Here are the contents as they are now.
/etc/amd.conf
[global]
log_file = /var/log/amd
debug_options = all,noreaddir
[/net]
map_type = file
map_name = /etc/amd/amd.net
mount_type = nfs
And cat /etc/amd/amd.net
* -opts:=rw,wsize=8192,rsize=8192,nfsvers=3,tcp,soft,intr
type:=nfs;rhost:=rockstar.xnet.is
-----Original Message-----
From: David DELAVENNAT [mailto:[EMAIL PROTECTED]
Sent: 8. mars 2007 15:00
To: Zlfar M. E. Johnson
Subject: Re: amd howto
Zlfar M. E. Johnson a icrit :
> Hi
>
> I would appreciate if someone could point me to a good how to or
> directions for setting up amd on openbsd. I had hoped there was
> something like /etc/automount.master, but I see that openbsd uses amd
> to do basically the same thing. I want to try mounting nfs shares
> with amd using something like /etc/amd.conf.
>
> thank you.
>
>
hi ulfar,
something like this?
/etc/amd.conf
[global]
log_file = syslog
log_options = info
browsable_dirs = no
[/homes]
map_type = file
map_name = /etc/amd.homes
mount_type = nfs
/etc/amd.homes
/defaults
type:=nfsl;opts:=rw,grpid,revsport,proto=tcp,vers=3,nosuid,nodev,noatime;
* rhost:=filer;rfs:=/data/homes;sublink:=${key};
/etc/syslog.conf
...
!amd
*.* /var/log/amd.log
...
Cordialement / Best regards
/david