check if mounted

Subject:

mountpoint -q /dev/FTPbackup//lvol0 && echo "mounted" || echo "not mounted"

2017-06-18 10:56:51gstlouis