recentpopularlog in

kme : networkfilesystem   2

linux - Check if NFS Directory Mounted without Large Hangs on Failure - Stack Overflow
To solve the problem, the code I used is:

if [[ `timeout 5s ls /nfs/machine |wc -l` -gt 0 ]] ; then
echo "can see machine"
echo "cannot see machine"
bash  nfs  networkfilesystem  scripting  sysadmin  maybesolution 
may 2015 by kme

Copy this bookmark:

to read