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

Report file system type #1276

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion mock/py/mockbuild/plugins/hw_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _unprivPreInitHook(self):
out.write("\n\nMemory:\n")
out.write(output)

cmd = ["/bin/df", "-H", self.buildroot.make_chroot_path(), self.config["cache_topdir"]]
cmd = ["/bin/df", "-H", "-T", self.buildroot.make_chroot_path(), self.config["cache_topdir"]]
output = mockbuild.util.do(cmd, shell=False, returnOutput=True, raiseExc=False)
out.write("\n\nStorage (chroot, cache_topdir):\n")
out.write(output)
Expand Down
15 changes: 15 additions & 0 deletions releng/release-notes-next/report-file-system-type.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Previously, only the file sizes were reported by the hw_info plugin:

~~~
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/luks-3aa4fbe3-5a19-4025-b70c-1d3038b76bd4 399G 9.1G 373G 3% /
/dev/mapper/luks-3aa4fbe3-5a19-4025-b70c-1d3038b76bd4 399G 9.1G 373G 3% /
~~~

Newly, also file system type is reported:

~~~
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/luks-3aa4fbe3-5a19-4025-b70c-1d3038b76bd4 btrfs 399G 9.1G 373G 3% /
/dev/mapper/luks-3aa4fbe3-5a19-4025-b70c-1d3038b76bd4 btrfs 399G 9.1G 373G 3% /
~~~