def pathSpaceAvailable(path): return _isys.devSpaceFree(path)
def fsSpaceAvailable(fsystem): return _isys.devSpaceFree(fsystem)
def spaceAvailable(device, fsystem = "ext2"): mount(device, "/mnt/space", fstype = fsystem) space = _isys.devSpaceFree("/mnt/space/.") umount("/mnt/space") return space
def pathSpaceAvailable(path, fsystem = "ext2"): return _isys.devSpaceFree(path)