Prompted by Yasunori's patch to add a few more fields to the "ndctl list
--dimm" output we realized it would be nice to have listings be more
user-friendly by default. These patches take advantage of json-c's
ability to specify a custom object serializer so that we can select
'human' vs 'machine' friendly output.

This of course opens the door to things like colorized output to reflect
the health state of a dimm.

---

Dan Williams (2):
      ndctl, list: convert json control flags to bit-flags
      ndctl, daxctl, list: make terminal output human readable by default


 Documentation/daxctl/daxctl-list.txt |   21 ++++
 Documentation/ndctl/ndctl-list.txt   |   30 ++++++
 daxctl/list.c                        |   36 +++++++-
 ndctl/list.c                         |   59 ++++++++++--
 ndctl/namespace.c                    |    6 +
 util/json.c                          |  162 ++++++++++++++++++++++++++--------
 util/json.h                          |   25 ++++-
 7 files changed, 279 insertions(+), 60 deletions(-)
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to