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:?
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 mails | Author | Date |
|---|---|---|
| Nick Rogers | Mar 11, 18:03 | |
| Mike Abdullah | Mar 11, 18:20 | |
| Randall Meadows | Mar 11, 18:32 | |
| Nick Rogers | Mar 12, 15:53 |






Cocoa mail archive

