Put something like this in rc.local, it's assuming that once the host
is seen it should be able to nfs mount. If nfs server isn't up but the
host is, then it'll still have the hang. See the other posts for
details on how to avoid the hang.
if ping -W1 -c1 alfred >/dev/null 2>&1; then
mount -t nfs alfred:/common /mnt/alfred
slaine at slaine.org
On 29 Feb 2008, at 12:06, Timothy Murphy wrote:
> I want to mount alfred:/common on my laptop
> if it can see my desktop "alfred".
> If I just add the entry to /etc/fstab
> it hangs for an inordinate time if it cannot see alfred .
>> Could you please write me a script to put in rc.local ?
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/
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!