Re: Get proper volume name with FSGetVolumeInfo
Re: Get proper volume name with FSGetVolumeInfo
- Subject: Re: Get proper volume name with FSGetVolumeInfo
- From: Quinn <email@hidden>
- Date: Fri, 19 Sep 2008 16:38:16 +0100
At 11:28 -0400 19/9/08, Gurami Palagashvili wrote:
The application runs as a Daemon.
Really as a daemon, or as a background only application? See TN2083
for the definitions.
<http://developer.apple.com/technotes/tn2005/tn2083.html>
I'm using FSGetVolumeInfo to get volume information in runloop. I'm
monitoring when volume mounted/unmounted , but if volume renamed
FSGetVolumeInfo returns cashed information (incorrect).
Is there any way to reset volume information cash or use any APIs to
get proper volume information after application started and volume
information (volume name ) changed?
File Manager learns about volume changes by installing callbacks on
your runloop. Are you running the runloop?
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden