output from "blkid" unstable (util-linux 2.22.2)
Hi,
my "/dev/sdc" is LVM PV and "bkid says so - sometimes:
---8<---
root@ai:~# blkid /dev/sdc root@ai:~# blkid /dev/sdc /dev/sdc: UUID=",,," TYPE="LVM2_member" root@ai:~# blkid /dev/sdc /dev/sdc: UUID="..." TYPE="LVM2_member" root@ai:~# blkid /dev/sdc root@ai:~# blkid /dev/sdc /dev/sdc: UUID="..." TYPE="LVM2_member" ,,, --->8---
When looking at "blkid.tab" after each blkid invocation, it seems a record for "/dev/sdc" is added and then is removed again.
"blkid" from 2.21 did not have that problem, and a git bisect revealed commit 2b29c1bfca6e52c9c1ce2e41fde7967c150c5877 as the culprit.
Reverting that commit made "blkid.tab" and "blkid" output stable.
Ciao
Andi
Karel Zak
maintainerQuoted 12 lines · Andreas Hofmeister
---8<---
root@ai:~# blkid /dev/sdc root@ai:~# blkid /dev/sdc /dev/sdc: UUID=",,," TYPE="LVM2_member" root@ai:~# blkid /dev/sdc /dev/sdc: UUID="..." TYPE="LVM2_member" root@ai:~# blkid /dev/sdc root@ai:~# blkid /dev/sdc /dev/sdc: UUID="..." TYPE="LVM2_member" ,,, --->8---
Probably fixed in our git three.
Andreas, please try:
git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
cd util-linux
./autogen.sh
./configure
make blkid
# ./blkid /dev/sdc
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Karel Zak
maintainerQuoted 1 line · Karel Zak
Probably fixed in our git three.
ops... s/three/tree/ ;-)
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Andreas Hofmeister
AppliedQuoted 2 lines · Karel Zak
cd util-linux
./autogen.sh
Had a bit if a problem with my auto-tools, so I could not actually check "master"
But apparently you found the problem already :-)
I applied your commit 6a0766444dc4f1b23b1f0da9c380fb1ced0bfb0a onto the sources from the v2.22.2 tar archive. So far, that seems to have fixed the problem.
Thanks
Andi