package - Ruby: cross-platform way to determine whether NFS is installed? -


i need detect whether nfs installed or not on running server in ruby code.

if there way can in cross-platform way(or @ least in unix/linux)?

i can't think of cross platform way there's no standards getting kernel info. think have specific guest os type. linux "modinfo nfs". solaris boxes use modinfo , search nfs in output or in /etc/dfs/fstypes. using "uname -s" tell method use.


Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

email - PHP Mail Error "The Page at X Says: E-Mail can not be sent!" -

Optimized Line drawing in QT -