Re: [PATCH v2] * grub-core/fs/udf.c: Add support for UUID

2017-08-07 Thread Vladimir 'phcoder' Serbinenko
Committed with few fixes. Thanks Le Thu, Jun 22, 2017 à 2:42 PM, Pali Rohár a écrit : > Use same algorithm as in libblkid from util-linux v2.30. > > 1. Take first 16 bytes from UTF-8 encoded string of VolumeSetIdentifier > 2. If all bytes are hexadecimal digits, convert to

[PATCH v2] * grub-core/fs/udf.c: Add support for UUID

2017-06-22 Thread Pali Rohár
Use same algorithm as in libblkid from util-linux v2.30. 1. Take first 16 bytes from UTF-8 encoded string of VolumeSetIdentifier 2. If all bytes are hexadecimal digits, convert to lowercase and use as UUID 3. If first 8 bytes are not all hexadecimal digits, convert those 8 bytes to their