Re: reformat drive to HFS via API
Re: reformat drive to HFS via API
- Subject: Re: reformat drive to HFS via API
- From: Jens Alfke <email@hidden>
- Date: Tue, 25 May 2010 18:40:44 -0700
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 (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