Re: External Drives Questions

2009-06-29 Thread Fred Baker
On Jun 29, 2009, at 5:17 AM, Ammar Ibrahim wrote: How can I do the following in Cocoa: 1- Get the list of mounted drives? 2- Get the serial number of the mounted drive/disk Since serial numbers tend to be associated more with devices rather than volumes, your best bet would be to use IOKit t

Re: External Drives Questions

2009-06-29 Thread Gregory Weston
Ammar Ibrahim wrote: How can I do the following in Cocoa: 1- Get the list of mounted drives? [[NSWorkspace sharedWorkspace] mountedLocalVolumePaths] 2- Get the serial number of the mounted drive/disk Don't know about serial number, but for UUID you use the Disk Arbitration framework. Cre

External Drives Questions

2009-06-29 Thread Ammar Ibrahim
How can I do the following in Cocoa: 1- Get the list of mounted drives? 2- Get the serial number of the mounted drive/disk I would assume when you plugin a disk drive that was already configured to use Time Machine. Time machine would check the serial number, and start backing up if it's already "