Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 07:40:19 -0400
From:      Jerry <jerry@seibercom.net>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Check to see if share is mounted
Message-ID:  <20131029074019.5a7a75b9@scorpio>

next in thread | raw e-mail | index | archive | help
I have several Bash scripts that backup data to a Windows drive. I am
looking for a one or two line snippet of code that I can use to
determine if the share is all ready mounted. I tried trapping the exit
code of the "mount_smbfs" command, but it always returns "0". Is there
another way to get info on the share?

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131029074019.5a7a75b9>