HomeFreeBSD

JSON output support for zpool version

Description

JSON output support for zpool version

This commit adds support for zpool version to output in JSON format
using '-j' option. Userland kernel module version is collected in nvlist
which is later displayed in JSON format. man page for zpool is updated.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes #16217

Details

Provenance
Umer Saleem <usaleem@ixsystems.com>Authored on Apr 22 2024, 9:22 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 6 2024, 7:46 PM
Parents
rGcad4c0ef1a1d: JSON output support zfs mount
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG5cbdd5ea4f5f: JSON output support for zpool version (authored by Umer Saleem <usaleem@ixsystems.com>).Aug 6 2024, 7:46 PM