Skip to content

Conversation

@crpb
Copy link
Contributor

@crpb crpb commented Jul 17, 2025

No description provided.

@crpb crpb force-pushed the zfs/json branch 2 times, most recently from 9dfd228 to 4d7021b Compare July 17, 2025 15:42
@crpb
Copy link
Contributor Author

crpb commented Jul 17, 2025

@akorn thoughs?

@akorn
Copy link

akorn commented Jul 17, 2025

My personal preference would be to keep the output human readable as opposed to machine readable by default; but then, I don't know how people normally use grml-hwinfo. I don't regularly use it.

@crpb crpb changed the title ZFS: change machine-parsable data to json ZFS: add json dumps Jul 18, 2025
Copy link
Member

@mika mika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I very much like the addition of json dumps, thanks!
We should clarify the behavior change though :)

@crpb crpb force-pushed the zfs/json branch 3 times, most recently from 60f7100 to 4ec6b3c Compare July 19, 2025 01:29
* Run additional zfs/zpool get all on all pools with the following options
  and place them in "./json/"
   - '--json' return list of properties in json format
   - '--json-int' display numbers as integer instead of strings
* Make "human" readable format easier to read by removing the -H switch to
  suply column descriptions.
* Add options to zfs get all as were missing the properties of all child datasets.
  - '-r' recurse through all datasets
  - '-t filesystem,volume' to explicitely NOT get snapshots
@mika mika merged commit 0f0b200 into grml:master Aug 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants