Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add free/total inode counts #659

Merged
merged 19 commits into from
Oct 23, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Free/total inodes on macOS
  • Loading branch information
dbwiddis committed Oct 23, 2018
commit 23094ef48ad936c9223a15fd7b5f9766da9fbe0e
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,14 @@ public OSFileStore[] getFileStores() {
OSFileStore osStore = new OSFileStore();
osStore.setName(name);
osStore.setVolume(volume);
osStore.setLogicalVolume(path);
osStore.setMount(path);
osStore.setDescription(description);
osStore.setType(type);
osStore.setUUID(uuid);
osStore.setUsableSpace(file.getUsableSpace());
osStore.setTotalSpace(file.getTotalSpace());
osStore.setFreeInodes(fs[f].f_ffree);
osStore.setTotalInodes(fs[f].f_files);
fsList.add(osStore);
}
}
Expand Down