|
script for checking if a drive is mounted
i was wondering if anyone knows how i can make a script to check if a drive is mounted or not. The reason for the script is i want to automate my tar backs but my backups go to a samba mounted drive. I however am on a notebook and sometimes i am not on the network with the samba share, so i can't have my backup program run during this time.
|