mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Add colored output to zfs list
Use a bold header row and colorize the AVAIL column based on the used space percentage of volume. We define these colors: - when > 80%, use yellow - when > 90%, use red Reviewed-by: WHR <msl0000023508@gmail.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ethan Coe-Renner <coerenner1@llnl.gov> Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de> Closes #14621 Closes #14350
This commit is contained in:
committed by
Brian Behlendorf
parent
7bde396aa2
commit
2bd0490faf
@@ -740,6 +740,8 @@ command will be undone if the share is ever unshared (like via a reboot).
|
||||
.It Sy ZFS_COLOR
|
||||
Use ANSI color in
|
||||
.Nm zfs Cm diff
|
||||
and
|
||||
.Nm zfs Cm list
|
||||
output.
|
||||
.It Sy ZFS_MOUNT_HELPER
|
||||
Cause
|
||||
|
||||
Reference in New Issue
Block a user