Checking if volume mounted and mount if not

LetLocal lvResult = “”
AppleScript |||
set theVol to “VolName”
do shell script “diskutil mount diskutil list | awk '/ " & theVol & " / {print $NF}'
|||, lvResult