On Tue, 2009-07-21 at 15:55 +0100, Timothy Murphy wrote:
> If I just add it to /etc/fstab
> there is an inordinate delay if alfred cannot be seen.
Use the autofs to mount it when you access it and it will also un-mount
it when done. This avoids the need to do it at login but makes it
available (if present) when you try to access it
you can also symlink the directory from the /net dir (possibly assuming
redhat like distros.) to where you want
ln -s /net/alfred/common /common
now
ls /common
will automount the share and do the needful
some help on the autofs auto-mounter here for redhat like distros,
others will presumably be very similar
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guide-en-US/s1-nfs-client-config-autofs.html
.brendan
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!