• 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: Wait until volume is mounted?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wait until volume is mounted?


  • Subject: Re: Wait until volume is mounted?
  • From: Alastair Houghton <email@hidden>
  • Date: Fri, 21 Aug 2009 22:58:56 +0100

On 21 Aug 2009, at 22:30, 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 could watch for an NSWorkspaceDidMountNotification from the shared NSWorkspace's notification centre.


Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

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: 
 >Wait until volume is mounted? (From: PCWiz <email@hidden>)

  • Prev by Date: Re: Wait until volume is mounted?
  • Next by Date: Undocumented preparedCellAtColumn:-1 row:row
  • Previous by thread: Re: Wait until volume is mounted?
  • Next by thread: Re: Wait until volume is mounted?
  • Index(es):
    • Date
    • Thread