[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] UUID support for UFS
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
Re: [PATCH] UUID support for UFS |
Date: |
Wed, 22 Jul 2009 19:47:56 +0200 |
On Wed, Jul 22, 2009 at 7:40 PM, Robert Millan<address@hidden> 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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
- Re: [PATCH] UUID support for UFS, (continued)
- Re: [PATCH] UUID support for UFS, Vladimir 'phcoder' Serbinenko, 2009/07/21
- Re: [PATCH] UUID support for UFS, Pavel Roskin, 2009/07/21
- Re: [PATCH] UUID support for UFS, Javier Martín, 2009/07/21
- Re: [PATCH] UUID support for UFS, Pavel Roskin, 2009/07/21
- Re: [PATCH] UUID support for UFS, Javier Martín, 2009/07/21
- Re: [PATCH] UUID support for UFS, Pavel Roskin, 2009/07/21
- Re: [PATCH] UUID support for UFS, Robert Millan, 2009/07/22
- Re: [PATCH] UUID support for UFS, Javier Martín, 2009/07/22
- Re: [PATCH] UUID support for UFS, Robert Millan, 2009/07/22
Re: [PATCH] UUID support for UFS, Robert Millan, 2009/07/22