Hi, please send the exact steps you used to reproduce this, instead of
just giving me conclusions.   And please tell me what version of
Ubuntu/e2fsprogs you were using, thanks.

When you say "blkid", do you mean the blkid program, or the
/etc/blkid.tab file?   When you run the /sbin/blkid program, it will
scan the devices which are currently available and revalidate the
partitions before printing out the results.   If the /etc/blkid.tab fle
is writeable, it will update /etc/blkid.tab with the results.   I have
tested this by editing /etc/blkid.tab and changing the labels and uuid's
in /etc/blkid.tab, and then running the /sbin/blkid program, and prints
the correct results.

If it is not doing this for you, I need the exact steps that you used to
replicate your problem.

If what you are complaining about is that partition imaging software is
changing the UUID of the restored partition, but not changing the UUID
in /etc/fstab, or that when you reformat the swap-space, all possible
/etc/fstab files aren't getting updated, that's not blkid's problem.
It's not responsible for the contents of /etc/fstab.  It would be up to
the partition imaging software to update /etc/fstab, and how to deal
with the reformating the swap space problem is a hard one, but I would
submit that's not a common case, and a system administrator who tries to
install a second Linux system on the same computer is going to have to
be responsible for editing /etc/fstab on the first installed system.

-- 
blkid shows outdated / wrong UUID 
https://bugs.launchpad.net/bugs/137314
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to