libblkid uuid_parse() failing to parse UUID for lvm volume on raid device

view story

http://www.linuxquestions.org – Found out that uuid_parse() in libblkid cannot parse the UUID's of LVM physical volumes residing on nonpartitioned raid volumes. It fails with an error, while it correctly parses other UUID's. This is strange, since the utility blkid reports correctly the UUID's of LVM physical volumes on nonpartitioned raid devices, as any other partition with an UUID. The "unparsed" UUID of an LVM physical volume can look like this:"cgrPXv-vtek-kfNh-kqNv-2Ad1-kct8-DVPLg5"The "unparsed" UUID of a partition with a reiserfs filesystem, (or a swap partition), can look like the fol (HowTos)