Hi Andrew, On Tue, Jan 02, 2024 at 12:10:01AM +1100, luv-main wrote: > Hi all, > > I have chosen to back up to to two 4TB USB3 disks But they both have the > same name: SP PHD U3 > > Is there a way to rename on of them to , say, SP PHD U4? > > Kind regards > > Andrew Greig > Exactly what do you mean by "name" here?
If it's the disk label, you can change it with `tune2fs -L`. If it's the device id, you can use another disk attribute in fstab, including: - LABEL= # ls -l /dev/disk/by-label - UUID= # ls -l /dev/disk/by-uuid - PARTUUID= # ls -l /dev/disk/by-partuuid - PARTLABEL= # lsblk -oNAME,PARTLABEL To see all fstab-able fields at once: $ lsblk -oNAME,LABEL,UUID,PARTUUID,PARTLABEL Cheers ... Duncan. _______________________________________________ luv-main mailing list -- [email protected] To unsubscribe send an email to [email protected]
