Skip to content

Commit 589c997

Browse files
Umer Saleemlundman
Umer Saleem
authored andcommitted
JSON output support for zpool list
This commit adds support for zpool list command to output the list of ZFS pools in JSON format using '-j' option.. Information about available pools is collected in nvlist which is later printed to stdout in JSON format. Existing options for zfs list command work with '-j' flag. man page for zpool list is updated accordingly. Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Ameer Hamza <[email protected]> Signed-off-by: Umer Saleem <[email protected]> Closes openzfs#16217
1 parent dcd5289 commit 589c997

File tree

4 files changed

+428
-82
lines changed

4 files changed

+428
-82
lines changed

0 commit comments

Comments
 (0)