• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Get proper volume name with FSGetVolumeInfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Get proper volume name with FSGetVolumeInfo (From: "Gurami Palagashvili" <email@hidden>)

  • Prev by Date: Get proper volume name with FSGetVolumeInfo
  • Next by Date: Re: Get proper volume name with FSGetVolumeInfo
  • Previous by thread: Get proper volume name with FSGetVolumeInfo
  • Next by thread: Re: Get proper volume name with FSGetVolumeInfo
  • Index(es):
    • Date
    • Thread