boxinfo
boxinfo copied to clipboard
Adding support for more block devices (e.g. NVMe).
This takes care of my case:
$ lsblk /dev/nvme0n1 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 477G 0 disk ├─nvme0n1p1 259:1 0 127M 0 part /boot └─nvme0n1p2 259:2 0 124.9G 0 part /
However, a better general solution will be to use the lsblk(8) command altogether.