def _free_disk_space_for(path):
    stat = os.statvfs(path)
    return stat.f_frsize * stat.f_bavail
Get free disk space on a drive where path is located.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/image_cache.py/_free_disk_space_for