title: How to check that the directory is mounted and available?
body: <p>Folder on the server is mounted as follows:</p>
  
  <p>root@ubuntusrv:/mnt# mount -t cifs //192.168.14.12/share -o auto,user,iocharset=utf8,uid=1001,umask=000,username=john,password=smith /mnt/target</p>
  
  <p>or so:</p>
  
  <p>root@ubuntusrv:/mnt# mount -t cifs //192.168.14.12/share -o username=john,password=smith /mnt/target</p>
  
  <p>How in Java web app to check that the folder /mnt/target mounted and available now?</p>