Build precise queries to find exactly what you need
Press ESC to close
@nordri
Favorites0
Views741
Projects1
In Debian Squeeze with NFS v4 support, partitions in /proc/mounts are show as X.X.X.X:/path/to/remote /path/to/local nfs4 rw,... In the script you must to change grep -q /proc/mounts -e " ${MP} nfs " &>/dev/null to grep -q /proc/mounts -e " ${MP} nfs4 " &>/dev/null And it'll work nice for you.
Reviewed 15 years ago