On 2020-03-19 19:43, Michael wrote:
On Thursday, 19 March 2020 18:32:12 GMT n952162 wrote:
On 2020-03-19 19:04, Michael wrote:
On Thursday, 19 March 2020 17:03:15 GMT Ian Zimmerman wrote:
On 2020-03-19 10:59, n952162 wrote:
I changed the UUID of all the partitions of the second drive and now
all my devices are linked to in /dev/disk/by-uuid. I still have
no/dev/disk/by-label, though. Also, my swap file on a mounted drive
wasn't mounted, which was my original problem ;-(
Do they in fact have labels? Just checking.
Also, you're not not clear if your _partition_ still isn't getting
mounted, or just the swap file not getting activated.
For a problem like this, there _has_ to be something in the log.
We're using the term 'partition' here, but to avoid confusion, we have GPT
partition table UUIDs (PARTUUID) and we have filesystem UUIDs (UUID).
Similarly, we also have filesystem labels and GPT partition labels.
Therefore it helps if there is consistency in the IDs being used to mount
partitions.
I used the UUID column of blkid(8) on the fstab entry, with UUID=. If
that is the partition UUID, where, how, and wherefore are filesystem UUIDs?
lsblk -o +PARTUUID,UUID
will show both, but blkid also print filesystem UUID and partition table
PARTUUID.
Okay, then I got it backwards: both blkid(8)'s UUID and /etc/fstab's
UUID are the filesystem UUID. What is the partition UUID used for?