Check if a NFS share is mounted

Below is a small Perl example how to check for NFS mounted shares on a Linux host.
The script does not need any specific modules, and makes use of the /etc/mtab file.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.