Skip to content

Commit

Permalink
JSON output support for zpool list
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
  • Loading branch information
usaleem-ix committed May 22, 2024
1 parent c4104d0 commit f8fa1fc
Show file tree
Hide file tree
Showing 4 changed files with 359 additions and 81 deletions.
Loading

0 comments on commit f8fa1fc

Please sign in to comment.