Commits


Change output of -i option Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


Minor code style adjustments Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


Fix allocation bug Previously, lsblk would allocate space only for n-1 drives. Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


Better error handling Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


replaced bzero() with memset() Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


read_disk(): fix handling of CDs drives with no CD in them Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


Minor print_disk() fixes


Minor fixes


Allow drive names longer than sd0, like vnd0


Dynamic padding


Sort drives by name


Improved RAID support - Changed "LABEL/MOUNT" to "COMMENT" - Show status of RAID disk in "COMMENT" - Show status of RAID volume in "COMMENT" - Fix RAID support if multiple volumes exist - Added -b option to disable scanning for RAID devices


Show RAID disks


Use opendev(3) instead open(2)


Use err(3) instead of die()


Added -U option


Accept "disk" arguments


Removed dead code


Print fancy unicode characters


Merge "LABEL" and "MOUNT" fields


Added -a option


Redesign + Added LABEL, USED, FREE fields


Print Header & -n option


Changed padding & strip " disk" from disk type


Release of v1.0