bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc bug causes parted to write bad GPT entries


From: Andrew Clausen
Subject: Re: gcc bug causes parted to write bad GPT entries
Date: Sat, 16 Mar 2002 12:20:12 +1100
User-agent: Mutt/1.3.17i

On Fri, Mar 15, 2002 at 05:55:07PM -0700, Andreas Dilger wrote:
> No, in the libuuid code there are uuid_pack() and uuid_unpack() calls.
> No man pages I guess (my bad).
> 
> void uuid_pack(const struct uuid *uu, uuid_t ptr)
> void uuid_unpack(const uuid_t in, struct uuid *uu)

Ah, looks like the Conectiva package doesn't include uuidP.h, which
is why I didn't find it.  Debian/Potato doesn't have it either.
My RH box is switched off, but I'd be willing to make a bet...

This is going to cause lots of pain :(  (independently of libparted,
since we can't use libuuid here, because intel defined it as
little endian, not big-endian as the relevant RFC defines...)

Anyway, a pack-type thing looks reasonable.  Just, the rest of
libparted does the opposite... (motivation: pack/unpack can be
a PITA for incremental update of ondisk structures, and caching,
etc.)

Consistency is nice, but it doesn't really bother me that much
either way.

Andrew



reply via email to

[Prev in Thread] Current Thread [Next in Thread]