• 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
Figuring out mounted path from volume ref num
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Figuring out mounted path from volume ref num
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: OT: WWDC
  • Next by Date: Re: OT: WWDC
  • Previous by thread: Re: Slow NSTableView
  • Next by thread: Re: Figuring out mounted path from volume ref num
  • Index(es):
    • Date
    • Thread