Figuring out mounted path from volume ref num
Figuring out mounted path from volume ref num
- Subject: Figuring out mounted path from volume ref num
- From: Neil Rhodes <email@hidden>
- Date: Fri, 16 May 2003 16:13:55 -0700
I'm mounting a remote volume using FSMountServerVolumeAsync. I'm
passing nil as the directory, allowing it to choose a default directory
(in /Volumes). It returns a vrefnum.
Later on, I need to know whether the user has unmounted it. I register
for the NSWorkspaceDidUnmountNotification notification, and am told
whenever any volume is unmounted. The problem is that I'm notified by
name, while I have a vrefnum.
Is there any way to find the path at which a volume has been mounted?
Thanks,
Neil
--
Neil Rhodes
Palm OS Certified Developer
Co-author: Palm Programming: the Developer's Guide
Available for contract programming
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.