I am trying to implement AMD on a SunOS 4.1.3 machine and am
somewhat confused. I would like to hard mount the /home partition
locally, fstab entry:
/dev/sd0h /home 4.2 rw 1 2
Each person's home directory could be on any number of servers all
following the form:
/home/$host/$usr
I would like the automount point on all servers to be /home/$host.
Is this a workable and feasible strategy?
The default for AMD makes the automount point /a/$host/home/$host/$usr.
For some reason, I can't figure out how to make it so that when
I reference /home/$host/$usr, I get sent over to the above
mentioned automount point. My passwd file states that the home directory
is /home/$host/$usr and I've cribbed the automount map to look like:
/defaults opts:=rw,intr,grpid,nosuid
talon host!=${key};type:=nfs;rhost:=${key};rfs:=/home/${key} \
host==${key};type:=ufs;dev:=/dev/sd0h
swoop host!=${key};type:=nfs;rhost:=${key};rfs:=/home/${key} \
host==${key};type:=ufs;dev:=/dev/sd0h
I've been using hard mounts in /etc/fstab exclusively and am
starting to explore the automounter. Is there something I'm missing
here? I would like to set it up so that all that's needed for someone
to access their home directory is to type cd ~$user or cd /home/$host/$user.
Thanks in advance for your help.
--
-----------------------------------
Professional Examination Service
(212) 870-2154