• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: looking for sample code to read UUID from a disk volume.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >looking for sample code to read UUID from a disk volume. (From: Kenny Leung <email@hidden>)
 >Re: looking for sample code to read UUID from a disk volume. (From: "Herb Petschauer" <email@hidden>)
 >Re: looking for sample code to read UUID from a disk volume. (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: core data and IB outlet binding
  • Next by Date: Re: NSURLConnection doesn't post
  • Previous by thread: Re: looking for sample code to read UUID from a disk volume.
  • Next by thread: Re: looking for sample code to read UUID from a disk volume.
  • Index(es):
    • Date
    • Thread