On Oct 27, 2008, at 4:37 AM, [EMAIL PROTECTED] wrote:


On 26 Oct 2008, at 17:37, Gregory Weston wrote:

Specifically, I'm looking for the opportunity to call FSGetCatalogInfo on the mount point and then FSGetVolumeInfo on the volume reference number I got back from the first call.

Greg

It look to me like registering for kEventClassVolume / kEventVolumeUnmounted carbon events would do what you need. This will tell you the cRefNum of the unmounted volume (once again though after it had gone).

The documentation you attached included a caveat that the volume reference number I'd receive isn't useful for anything except comparison against cached data. Can't use FSGetVolumeInfo. _______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to