Hi list, We are trying to parse blkid output in python for all devices and their attributes. I found two strange things. 1. udev format output is grouped by empty newline, but I see an extra newline in between. Below is the example, [root@fedora-16-test ~]# blkid -c /dev/null -o full /dev/vda2: LABEL="_Fedora-16-x86_6" UUID="8c82103c-23e0-4a86-acd0-5cbe43a91801" TYPE="ext4" /dev/vda3: UUID="3c718e5e-8298-4c41-a761-dbed215cbac3" TYPE="swap" /dev/vdb: UUID="ywykAs-XOFv-V2OJ-VeMU-3t2Q-kO5o-hyrzE8" TYPE="LVM2_member" /dev/vdc: UUID="NzeO60-5FJI-E6GS-ZRos-UbLX-8Aus-35QZMB" TYPE="LVM2_member" /dev/mapper/vg00-movies-real: UUID="a0c10d12-1861-42c5-a84a-bf370d554120" TYPE="ext4" /dev/vdd: LABEL="brick: /data" UUID="98ef6251-fa20-4439-936e-19e299ee5d49" SEC_TYPE="ext2" TYPE="ext3" /dev/mapper/vg00-movies: UUID="a0c10d12-1861-42c5-a84a-bf370d554120" TYPE="ext4" /dev/mapper/vg00-0--snap--movies-cow: TYPE="DM_snapshot_cow" /dev/mapper/vg00-0--snap--movies: UUID="a0c10d12-1861-42c5-a84a-bf370d554120" TYPE="ext4" [root@fedora-16-test ~]# [root@fedora-16-test ~]# blkid -c /dev/null -o udev ID_FS_LABEL=_Fedora-16-x86_6 ID_FS_LABEL_ENC=_Fedora-16-x86_6 ID_FS_UUID=8c82103c-23e0-4a86-acd0-5cbe43a91801 ID_FS_UUID_ENC=8c82103c-23e0-4a86-acd0-5cbe43a91801 ID_FS_TYPE=ext4 ID_FS_UUID=3c718e5e-8298-4c41-a761-dbed215cbac3 ID_FS_UUID_ENC=3c718e5e-8298-4c41-a761-dbed215cbac3 ID_FS_TYPE=swap ID_FS_UUID=ywykAs-XOFv-V2OJ-VeMU-3t2Q-kO5o-hyrzE8 ID_FS_UUID_ENC=ywykAs-XOFv-V2OJ-VeMU-3t2Q-kO5o-hyrzE8 ID_FS_TYPE=LVM2_member ID_FS_UUID=NzeO60-5FJI-E6GS-ZRos-UbLX-8Aus-35QZMB ID_FS_UUID_ENC=NzeO60-5FJI-E6GS-ZRos-UbLX-8Aus-35QZMB ID_FS_TYPE=LVM2_member ID_FS_UUID=a0c10d12-1861-42c5-a84a-bf370d554120 ID_FS_UUID_ENC=a0c10d12-1861-42c5-a84a-bf370d554120 ID_FS_TYPE=ext4 ID_FS_LABEL=brick:_/data ID_FS_LABEL_ENC=brick:\x20\x2fdata ID_FS_UUID=98ef6251-fa20-4439-936e-19e299ee5d49 ID_FS_UUID_ENC=98ef6251-fa20-4439-936e-19e299ee5d49 ID_FS_SEC_TYPE=ext2 ID_FS_TYPE=ext3 ID_FS_UUID=a0c10d12-1861-42c5-a84a-bf370d554120 ID_FS_UUID_ENC=a0c10d12-1861-42c5-a84a-bf370d554120 ID_FS_TYPE=ext4 ID_FS_TYPE=DM_snapshot_cow ID_FS_UUID=a0c10d12-1861-42c5-a84a-bf370d554120 ID_FS_UUID_ENC=a0c10d12-1861-42c5-a84a-bf370d554120 ID_FS_TYPE=ext4 [root@fedora-16-test ~]# You can see last few lines are having confusing information. Is it known issue? 2. In udev format output for all devices, there is no devname displayed. Without devname, its unclear grouping. Is there a plan to add devname in udev format output? I tried the above in util-linux from fedora 16 and git source build. Thanks in advance, Regards, Bala -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html