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 -

Optimized Line drawing in QT -

datetime - str to time in python -