Hi Piet,

Try this. It works for me with autofs 3.1.7 and Linux 2.4...

In /etc/auto_master, enter a directive (if not already there) for /home 
by including the following line :
/home    /etc/auto_home        -fstype=nfs

And in /etc/auto_home,  add an entry similar to this one:
 *     lucho:/export/home/&

In this the client mounts home directories form lucho:/export/home 
directory.  Even though those home directories can appear under 
/net/lucho/export/home, /net isn't needed to satisfy request for 
directories under /home.  

Autofs needs to be restarted if you need to update /etc/auto_master. 
 Updating only auto_home shouldn't require an autofs restart,  provided  
ps shows a "automount /home file /etc/auto_home fstype=nfs" process 
already running.

-Louis
--

Piet/Pete Delaney wrote:

>Is there a way to get automount to mount a filesystem that is mounted
>on a automounted filesystem. For Example, in my case I have / and /home
>exported and the automout/NFS client mounts /net/<hostname>/ and makes
>the <hostname>:/home directory available but it doesn't know to automount
>the home directory.
> 
>I thought a clue could be left in the home directory to inform automount
>to mount the second filesystems.
> 
>-piet
>
>


Reply via email to