What I would like to do is access an internal hard drive by it’s ‘nickname’ (label?) – easier for command line and scripts. Right now the HDD’s icon is labeled “WD_4TB”, which is what I would like to use instead of the UUID. I’ve seen how to create the label but have been unable to find how to make it usable with Terminal. (/dev/sdb2 can be highly variable so learned not to use that!)
The line from fstab is: '''/dev/disk/by-uuid/75d4f7d7-2cde-4f32-87be-5145a31428de /mnt/75d4f7d7-2cde-4f32-87be-5145a31428de auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=WD_4TB 0 0'''
Right now lsblk -o (lsblk -o | grep -i WD_4TB) isn’t retrieving the label so appears I’m missing a step or two. Or I’m using the wrong terminology.
I’m using Ubuntu 24.04.
Thanks!