[BUGS] rsync + smbfs

Andy Farkas chuzzwassa at gmail.com
Wed Jan 2 08:41:03 EST 2008


On 1/2/08, Jerahmy Pocott <quakenet1 at optusnet.com.au> wrote:
...
> So I'm still at 1, I need a way to check from a script if the
> filesystem is mounted,

A google search for "testing if a file system is mounted" showed me this:

<http://www.unix.com/shell-programming-scripting/26007-testing-if-nfs-filesystem-mounted.html#post102095>

The answer was:

"Thanks. I used the following command:
/bin/df -t nfs | /bin/grep /backup"

s/nfs/smbfs/

-andyf


More information about the BUGS mailing list