• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: reformat drive to HFS via API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >reformat drive to HFS via API (From: r c <email@hidden>)

  • Prev by Date: Re: -[NSMutableSet randomObject]
  • Next by Date: Re: set custom formatter in IB
  • Previous by thread: reformat drive to HFS via API
  • Next by thread: Re: reformat drive to HFS via API
  • Index(es):
    • Date
    • Thread