• 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
FSMountServerVolumeSync ioErr mounting SMB drives
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FSMountServerVolumeSync ioErr mounting SMB drives


  • Subject: FSMountServerVolumeSync ioErr mounting SMB drives
  • From: "Tom Greenwalt" <email@hidden>
  • Date: Tue, 19 May 2009 14:31:51 -0500

I'm trying to use 'FSMountServerVolumeSync' to mount a SMB drive.

For example:

	error = FSMountServerVolumeSync(urlSrcName, 0L,
		(CFStringRef)userName,
		(CFStringRef)password,
		(FSVolumeRefNum *)returnRefNum,
		0L /* OptionBits, currently unused */
		);

Where urlSrcName is 'smb://fileserver/public'.  The volume actually mounts
and I can see it if I do a 'df' from the terminal window, though it doesn't
appear in Finder.  But FSMountServerVolumeSync always returns a '-36' ioErr
and the returnRefNum is empty.  Without the returnRefNum, it's tough to find
name of the mountpoint so my app can translate the paths to the files and I
can't unmount using 'FSEjectVolumeSync'.  This happens on both MacOSX 10.4
and 10.5.

Any ideas on what I'm doing wrong?
Thanks.




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Best way to manage G3 network connections from a program ???
  • Next by Date: Re: FSMountServerVolumeSync ioErr mounting SMB drives
  • Previous by thread: Re: Best way to manage G3 network connections from a program ???
  • Next by thread: Re: FSMountServerVolumeSync ioErr mounting SMB drives
  • Index(es):
    • Date
    • Thread