Subject: Re: Help with automounter
To: Jeff Workman <jworkman@pimpworks.org>
From: Brett Lymn <blymn@baesystems.com.au>
List: netbsd-help
Date: 05/05/2001 21:01:49
According to Jeff Workman:
>
>
>Stoned koala bears drooled eucalyptus spit in awe as Jeff Workman exclaimed:
>

Hmmm - any politicians about the place? ;-)

>>
>> ..and /etc/amd/amd.home looks like:
>>
>> * type:=nfs;rhost:=server;rfs:=/home/${key}
>>

and it really should look like:

home type:=nfs;rhost:=server;rfs:=/home

which is about as close as you will get, I think.  This will create a
automount directory called /home with the home directory mounted under
that so you would get /home/home/foobar for user foobar but this
should allow you to create home directories.  What you could do is try
putting the automount somewhere else, i.e. change the master map to
have a directory /userdirs, use the same indirect map as above and
then sym link the /home to /userdirs/home.  Your master map would look
like:

/userdirs            /etc/amd/amd.home

and amd.home would be as I first showed.  Clear as mud?  Good ;-)

If you have the NetBSD sources installed then check out
/usr/src/dist/am-utils/scripts for a man page for amd.conf and some
sample configs.

-- 
===============================================================================
Brett Lymn, Computer Systems Administrator, BAE SYSTEMS
===============================================================================