looking for sample code to read UUID from a disk volume.
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