• 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: (FSResolveAlias, mount_smbfs) Set timeout in case network volume is unreachable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (FSResolveAlias, mount_smbfs) Set timeout in case network volume is unreachable?


  • Subject: Re: (FSResolveAlias, mount_smbfs) Set timeout in case network volume is unreachable?
  • From: Miklós Fazekas <email@hidden>
  • Date: Tue, 21 Feb 2006 18:05:40 +0100


On Feb 21, 2006, at 5:38 PM, email@hidden wrote:

Can an application set a time-out value for FSResolveAlias /
mount_smbfs to use when trying to resolve an alias to a file on a
network volume which is currently unreachable?

I've tried to use FSMountServerVolumeAsync, for this without any success.
The idea was to start the async mount then stop with FSCancelVolumeOperation after the timeout.
(see http://lists.apple.com/archives/macnetworkprog/2005/Jan/ msg00026.html)


Now we're using CFHostGetReachability to prevent mounting a volume from an unreachable server.
It's a workaround but seems to be working fine.


Miklós


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Metal Texture Background
  • Next by Date: Parsing a text
  • Previous by thread: Re: Metal Texture Background
  • Next by thread: Parsing a text
  • Index(es):
    • Date
    • Thread