• 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: To unmount a volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To unmount a volume


  • Subject: Re: To unmount a volume
  • From: Nick Rogers <email@hidden>
  • Date: Wed, 12 Mar 2008 20:23:56 +0530

Using -[NSWorkspace unmountAndEjectDeviceAtPath:],
I can only unmount my USB pen drive volume and not the volume in my secondary HDD.
it returns "NO" in case of a volume on secondary HDD.


please help.

Regards,
Nick

On 11-Mar-08, at 11:02 PM, Randall Meadows wrote:

On Mar 11, 2008, at 11:03 AM, Nick Rogers wrote:

Hi,
How can I unmount a volume knowing its POSIX path (/dev/rdisk1) and knowing its mounted name (Volumes/TREK)?


Is there any API to do that in cocoa?

NSWorkspace -unmountAndEjectDeviceAtPath:?

_______________________________________________

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: 
 >To unmount a volume (From: Nick Rogers <email@hidden>)
 >Re: To unmount a volume (From: Randall Meadows <email@hidden>)

  • Prev by Date: Where are the system spellchecker prefs stored?
  • Next by Date: Help with Bindings
  • Previous by thread: Re: To unmount a volume
  • Next by thread: Re: To unmount a volume
  • Index(es):
    • Date
    • Thread