Skip navigation.
 
mlRe: To unmount a volume
FROM : Nick Rogers
DATE : Wed Mar 12 15:53:56 2008

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:?

Related mailsAuthorDate
mlTo unmount a volume Nick Rogers Mar 11, 18:03
mlRe: To unmount a volume Mike Abdullah Mar 11, 18:20
mlRe: To unmount a volume Randall Meadows Mar 11, 18:32
mlRe: To unmount a volume Nick Rogers Mar 12, 15:53