Sign in

← Software

JSON output (-j) for zpool and zfs

titleJSON output (-j) for zpool and zfs
recommendationconsider
directionopenzfs-only
areatooling
feature flag
openzfs version2.3.0
summaryOpenZFS 2.3 added -j/--json to zpool status, list, get and version, and to zfs get, list and version.
impactSolnix tooling must screen-scrape zpool/zfs output; Nix modules and monitoring would be simpler with JSON.
whyUserland-only, self-contained, and handy for Solnix's declarative tooling.
effortsmall
sourceshttps://github.com/openzfs/zfs/commit/aa15b60e58599c8851358f6c7f85097f79fcfe55
https://github.com/openzfs/zfs/blob/c913da86156eba3243cc1ef515e98d69887654a7/cmd/zpool/zpool_main.c
https://github.com/openzfs/zfs/commit/959e963c819f4416f3308d3bbc504d9c3d9fea98

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.