On May 25, 2010, at 12:44 PM, r c wrote:
> I would like to be able to reformat a flash drive from control application,
> but it appears that there is no public API that allows this kind access. Am
> I missing something in the documentation? Or do I do something like call out
> to diskutil to make it happen?
The line between “API” and “tool” can be blurry in the Unix world. I believe
you’re right that you need to invoke a tool. (The Disk Utility app works
similarly — for example, its Disk First Aid feature just runs ‘fsck’.)
This is off-topic for cocoa-dev, btw. Better would be darwin-userlevel.
—Jens___
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