• 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
looking for sample code to read UUID from a disk volume.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

looking for sample code to read UUID from a disk volume.


  • Subject: looking for sample code to read UUID from a disk volume.
  • From: Kenny Leung <email@hidden>
  • Date: Wed, 9 Apr 2008 11:49:38 -0700

Hi All.

I can see from diskutil that a volume has a UUID:

kenny@alumintel>diskutil info /

   Device Node:        /dev/disk0s3
   Device Identifier:  disk0s3
   Mount Point:        /
   Volume Name:        Tiger

   File System:        Journaled HFS+
                       Journal size 16384 k at offset 0x3e0000
   Owners:             Enabled
   Partition Type:     Apple_HFS
   Bootable:           Is bootable
   Media Type:         Generic
   Protocol:           SATA
   SMART Status:       Verified
   UUID:               00826A1E-B3EB-3764-8CB0-867AFBB0FF83
   Total Size:         123.7 GB
   Free Space:         9.7 GB
   Read Only:          No
   Ejectable:          No

I am looking for sample code to obtain the UUID. Any pointers are greatly appreciated!

-Kenny

_______________________________________________

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


  • Follow-Ups:
    • Re: looking for sample code to read UUID from a disk volume.
      • From: James Bucanek <email@hidden>
    • Re: looking for sample code to read UUID from a disk volume.
      • From: "Herb Petschauer" <email@hidden>
  • Prev by Date: Re: what is the proper place to store application settings
  • Next by Date: *** -[NSConcreteFileHandle availableData]: Invalid argument
  • Previous by thread: Re: what is the proper place to store application settings
  • Next by thread: Re: looking for sample code to read UUID from a disk volume.
  • Index(es):
    • Date
    • Thread