zfs/lib
Tony Hutter 9fb2771aa5 Colorize zpool status output
If the ZFS_COLOR env variable is set, then use ANSI color
output in zpool status:

- Column headers are bold
- Degraded or offline pools/vdevs are yellow
- Non-zero error counters and faulted vdevs/pools are red
- The 'status:' and 'action:' sections are yellow if they're
  displaying a warning.

This also includes a new 'faketty' function in libtest.shlib that is
compatible with FreeBSD (code provided by @freqlabs).

Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #9340
2019-12-19 16:26:07 -08:00
..
libavl OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libefi cppcheck: (error) Memory leak: vtoc 2019-12-18 17:25:04 -08:00
libicp OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libnvpair Use correct format string when printing int8 2019-10-20 20:37:30 -07:00
libshare Modify sharenfs=on default behavior 2019-10-13 19:13:26 -07:00
libspl Replace ASSERTV macro with compiler annotation 2019-12-05 12:37:00 -08:00
libtpool OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libunicode OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libuutil Remove unused headers from uu_string.c 2019-10-25 13:53:50 -07:00
libzfs Colorize zpool status output 2019-12-19 16:26:07 -08:00
libzfs_core Add wrapper stub for zfs_cmd ioctl to libzpool 2019-11-12 10:40:39 -08:00
libzpool Mark Linux fallocate extensions as specific to Linux 2019-11-30 15:40:22 -08:00
libzutil Add wrapper stub for zfs_cmd ioctl to libzpool 2019-11-12 10:40:39 -08:00
Makefile.am Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00