03-06-2020, 02:51 AM
Purists will no doubt object that I'm really talking here about the label of the filesystem in a partition and not a label of the partition itself. Sorry about that.
Also, they'll no doubt point out that the lsblk command combines what I did in two steps, e.g.,
Code:
pi@moode3a:~ $ lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
mmcblk0
├─mmcblk0p1 vfat boot 4BBD-D3E7 198.9M 21% /boot
└─mmcblk0p2 ext4 rootfs 45e99191-771b-4e12-a526-0779148892cb 25.3G 9% /
Sorry about that, too. My excuse is I'm old and lsblk wasn't invented until long after I cut my eye teeth on Unix.
Regards,
Kent