in reply to How to verify mount point

On Linux you can also use Linux::Proc::Mountinfo.