On Sun, Nov 30, 2008 at 07:30:56PM +0100, Kay Sievers wrote: > Hey, > the current hfs uuid's are the raw on-disk values, which do not match do you mean hfs uuid in my blkid branch? (The library is still incomplete and my plan is check and document all UUID/LABEL/version code to check compatibility between our libraries.) > the value of the original OS, or libvolume_id's values. Libvolume_id > does the needed MD5 hashing, to translate them to the natively used > 128 bit uuid: > http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;f=extras/volume_id/lib/hfs.c;hb=HEAD#l146 I know about this problem -- "git pull; git log" is my good friend and in my TODO list is "talk about strange HFS UUID with Kay" :-) That's unbelievable that Mac OS uses MD5 for UUIDs. (Is it really true?) > We should fix that. Want a patch for that, which includes a copy of md5: > http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;f=extras/volume_id/lib/md5.c;hb=HEAD > or do you possibly want to link against an external library? The util-linux-ng package already includes MD5 code (lib/md5.c), so we can start with this local copy. (Although for example RH is working on crypto stuff consolidation, so wee will see...) Karel -- Karel Zak <kzak@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html