• 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
identifying AppleShare mounts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

identifying AppleShare mounts


  • Subject: identifying AppleShare mounts
  • From: David Feldman <email@hidden>
  • Date: Sat, 26 Jul 2003 09:57:32 -0400

I have a file sync app that automatically mounts remote AppleShare volumes (right now via mount_afp), and sometimes runs unattended on a schedule. Sometimes these are volumes the user might have mounted manually and left mounted, in which case my app fails to mount (since the OS won't let it mount a volume that's already mounted elsewhere).

Is there any way, before mounting a volume, that my app could check to see if it's already mounted?

If so, can it find out where the preexisting mount point is, and if there's read/write access?

And if it uses a preexisting mount point, what's the best way to check periodically that the mount continues to exist?

Thanks,
--Dave
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: WebServices && SSL && servers with un-trusted certificates
  • Next by Date: CFSocket with a file descriptor?
  • Previous by thread: Re: Rendezvous services lookup problem
  • Next by thread: CFSocket with a file descriptor?
  • Index(es):
    • Date
    • Thread