On Sun 01 Oct 2023 at 09:28:37 (+0000), Andy Smith wrote: > On Sun, Oct 01, 2023 at 07:21:06AM -0000, Robert Riding wrote: > > It seems that there are various programs included in debian to create disk > > labels for partitions, so that you may have a line in fstab that looks like > > "LABEL=home /home ext2 defaults 0 2" for instance. > > These labels also appear in /dev/disk/by-label as links to disk partitions. > > What you describe are filesystem labels, for filesystems. > > This is an important distinction because a filesystem may be > composed of multiple block devices, but it has just one label, > because there is one filesystem. For example, a filesystem may be on > an md (RAID) device, which is composed of multiple disk partitions. > > GPT partitions may *also* have names, which is what is causing some > degree of confusion here, and so it is best to avoid saying > "partition label" or "device label" when you actually mean > "filesystem label".
And beware of the term disk label, when disklabel is the BSD world's name for what we call a partition table. Cheers, David.