On Aug 21, 2009, at 2:30 PM, PCWiz wrote:
I'm using the OS X authorization frameworks to run the shell command "diskutil eraseVolume" to format a drive and then copy some files to it. The problem is that the copy procedure starts before the volume is remounted after the format. Is there any way to make it wait until the volume has been mounted again?
You can use the Disk Arbitration framework to get notifications when disks mount and unmount.
-- Greg Parker gpar...@apple.com Runtime Wrangler _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com