doing lsblk -o type,name,label,partlabel
- LABEL is at the partition level, and is set via
mkfs -L <label>
when creating the file system, it is this one used in fstab for mounting - PARTLABEL can be set via
parted <block device> -name <partlabel>
Is there a way to change the partition label used for mounting without blowing away the existing file system? I want to modify just LABEL for existing partitions that would be either ext4, xfs, or ntfs.
partlabel
. But then you say you want to modify LABEL, which is thelabel
. So which one it is? – Hi-Angel Dec 02 '22 at 13:48