Re: looking for sample code to read UUID from a disk volume.
Re: looking for sample code to read UUID from a disk volume.
- Subject: Re: looking for sample code to read UUID from a disk volume.
- From: "Herb Petschauer" <email@hidden>
- Date: Thu, 10 Apr 2008 09:14:12 -0700
On 09/04/2008, Chris Suter <email@hidden> wrote:
>
> On 10/04/2008, at 5:05 AM, Herb Petschauer wrote:
>
>
> > And note that only a GUID partition table scheme will yield partitions
> > with a UUID. The old style Apple Partition Map will not (so any
> > legacy or even current PPC machines).
> >
>
> No this is incorrect. Volumes have a UUID of their own and is different
> from the one used in the GUID partition map. Disk Utility displays the
> volume UUID. In HFS the UUID is not actually a proper UUID but is generated
> from 8 bytes in the Finder Info of the volume header. Have a look at the
> Darwin source code if you want to know how it's computed. I'm not sure how
> they're computed for other file-system types.
That's a good point. When think volume UUID I always think of what I
can easily get from the ioregistry :-) Thanks for the correction!
Cheers,
-H.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden