The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: automounter
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 06-23-2005
Just Ice's Avatar
Just Ice Just Ice is offline
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 627
if /home from the remote box is already shared out and you want the remote /home directory to be your permanent home directory on the local box ... no need to disable the automounter ...

edit /etc/auto_home and make the automounter mount the remote directory first ... see "man automount" for futher info ...

a quick example ...
Code:
user   localhost:/export/home/&
user1 remotehost:/export/home/& localhost:/export/home/&
*       localhost:/export/home/&    remotehost:/export/home/&
line explanations:
1. the home directory for "user" is his home directory that is automounted from the local box
2. the home directory for "user1" is his home directory that is automounted from the remote box
3. everybody else's home directories are automounted from the local box if available locally and from the remote box if not
Reply With Quote