}
return bprintf("%f",
- (float)fs.f_bsize * (float)fs.f_bfree / 1024 / 1024 / 1024);
+ (float)fs.f_frsize * (float)fs.f_bavail / 1024 / 1024 / 1024);
}
const char *
}
return bprintf("%d", (int)(100 *
- (1.0f - ((float)fs.f_bfree / (float)fs.f_blocks))));
+ (1.0f - ((float)fs.f_bavail / (float)fs.f_blocks))));
}
const char *
}
return bprintf("%f",
- (float)fs.f_bsize * (float)fs.f_blocks / 1024 / 1024 / 1024);
+ (float)fs.f_frsize * (float)fs.f_blocks / 1024 / 1024 / 1024);
}
const char *
}
return bprintf("%f",
- (float)fs.f_bsize * ((float)fs.f_blocks -
+ (float)fs.f_frsize * ((float)fs.f_blocks -
(float)fs.f_bfree) / 1024 / 1024 / 1024);
}