HomeFreeBSD

JSON output support zfs mount

Description

JSON output support zfs mount

This commit adds support for zfs mount to display mounted file systems
in JSON format using '-j' option. Data is collected in nvlist which is
printed in JSON format. man page for zfs mount is updated accordingly.

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 18 2024, 6:41 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 6 2024, 7:46 PM
Parents
rG443abfc71d71: JSON output support for zfs list
Branches
Unknown
Tags
Unknown

Event Timeline

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