On Wed, Jul 22, 2009 at 7:40 PM, Robert Millan<r...@aybabtu.com> wrote:
> On Tue, Jul 21, 2009 at 03:03:34PM +0200, Vladimir 'phcoder' Serbinenko wrote:
>> +  grub_uint32_t uuidhi;
>> +  grub_uint32_t uuidlow;
>> [...]
>> +      grub_sprintf (*uuid, "%08lx%08lx",
>> +                 (unsigned long) grub_le_to_cpu32 (data->sblock.uuidhi),
>> +                 (unsigned long) grub_le_to_cpu32 (data->sblock.uuidlow));
>
> Is this really being interpreted as mixed endian by other programs?
>
Yes. It completely matches the ufsid used by FreeBSD. Actually uuidhi
seems to be creation timestamp and uuidlow just a random number but it
doesn't matter for GRUB.
> --
> Robert Millan
>
>  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
>  how) you may access your data; but nobody's threatening your freedom: we
>  still allow you to remove your data and not access it at all."
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to