Not really sure what you are looking for, but you might they adding
the ghost to auto.master.
/smb    /etc/auto.smb --ghost
/net    /etc/auto.net -rw,soft,intr --timeout 60 --ghost
/home   /etc/auto.home --timeout 60 --ghost

For more information on ghost see the man page for automounter.

Mike


Joseph Loo wrote:
> I have a box that is running both autofs and nfsserver. My home
> directories are exported via the nfs server with the autofs picking up
> the directories am mounting them on home.
> 
> My auto.master file looks like the following:
> /smb    /etc/auto.smb
> /net    /etc/auto.net -rw,soft,intr --timeout 60
> /home   /etc/auto.home --timeout 60
> 
> The auto.home file looks like the following:
> apps            polaris:/export/home/&
> apps_admin      polaris:/export/home/&
> bit_torrent     polaris:/export/home/&
> loo             polaris:/export/home/&
> mysql           polaris:/export/home/&
> postgres        polaris:/export/home/&
> wwwrun          polaris:/export/home/&
> 
> When I boot the machine up initially, and login in one of the common
> users, e.g., bit_torrent it can not find the home fie directory. If I
> login as root and restart autofs, i.e.,
> /etc/init.d/autofs restart
> 
> the home directories will appear correctly. At that point the system can
> now find the home directories.
> 
> The same problem occur if I try to list the exported directory, i.e.,
> ls /net/polaris
> It will not work properly.
> 
> The /etc/hosts file looks like the following:
> 127.0.0.1       localhost
> 
> # special IPv6 addresses
> ::1             localhost ipv6-localhost ipv6-loopback
> 
> fe00::0         ipv6-localnet
> 
> ff00::0         ipv6-mcastprefix
> ff02::1         ipv6-allnodes
> ff02::2         ipv6-allrouters
> ff02::3         ipv6-allhosts
> 192.168.25.15   sirus.home sirus
> 192.168.25.30   crab.home crab
> 127.0.0.2       polaris.home polaris
> 
> Is it possible to use autofs this way, i.e. dhcp?
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to