'Call os.statvfs for a given list of paths. OS X and Linux only.
Note that a statvfs call for a network filesystem (e.g. NFS) that is
unavailable, e.g. due to no network, will result in the call blocking.
Args:
path: a Unicode string containing the path or None.
If path is None the value in self.path is used.
Returns:
posix.statvfs_result object
Raises:
RuntimeError: if called on windows'

def StatFS(self, path=None):

    if (platform.system() == 'Windows'):
        raise RuntimeError('os.statvfs    not    available    on    Windows')
    local_path = client_utils.CanonicalPathToLocalPath((path or self.path))
    return os.statvfs(local_path)
