iccaros Posted May 14, 2008 Report Share Posted May 14, 2008 I have an issue on a server where a samba share keeps dropping but mount shows that it is there, but df will show that it is not I create a scriptcheck=`df|grep /dev/sda5|wc -l`if [ $check -ne 0 ] thenecho "sda2 is there"elseecho "sda2 is not there"fithis is the basic outline.. is there a better way? (note I do not have the same share on this workstation so I substatuted a device I know would show up) Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.