Check If Nfs Share Is Mounted In Python Script
I wrote a python script that depends on a certain NFS share to be available. If the NFS share is not mounted it will happily copy the files to the local path where it should be mou
Solution 1:
Solution 2:
you cat parse /proc/mount file. Notice, that on different platforms and kernel versions file format may be different.
Post a Comment for "Check If Nfs Share Is Mounted In Python Script"