• 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: Fwd: FSGetVolumeMountInfoSize returns error -36?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: FSGetVolumeMountInfoSize returns error -36?


  • Subject: Re: Fwd: FSGetVolumeMountInfoSize returns error -36?
  • From: James Bucanek <email@hidden>
  • Date: Tue, 17 Aug 2010 10:34:38 -0700

Chris Suter <mailto:email@hidden> wrote (Tuesday, August 17, 2010 12:10 AM +1000):

Hi James,

On Tue, Aug 17, 2010 at 3:48 PM, James Bucanek <email@hidden>wrote:

Clearly I need something more than just the regular volume info. I started
my investigation by running ./FSMegaInfo FSGetVolumeMountInfo but
immediately ran into a snag: FSGetVolumeMountInfoSize is returning error -36
or every FSVolumeRefNum I give it.

So what's that about?


It's probably ioErr (from MacErrors.h) which is a generic error.

Yep, I/O error. But I have no idea why I'd be getting this when all I'm asking for is the size of the FSVolumeMountInfo struct, which I need to call FSGetVolumeMountInfo.


Additional Googling and poking around the Files.h headers makes me suspect that FSVolumeMountInfo is really only useful for networked volumes. I'm inferring this from the fact that the only concrete versions of VolumeMountInfoHeader I can find in the headers are the AFPVolMountInfo and AFPXVolMountInfo structures.

Thanks for the post and the suggestions.

James
--
James Bucanek

_______________________________________________
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: 
 >Fwd: FSGetVolumeMountInfoSize returns error -36? (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: FSGetVolumeMountInfoSize returns error -36?
  • Next by Date: Re: FSGetVolumeMountInfoSize returns error -36?
  • Previous by thread: Fwd: FSGetVolumeMountInfoSize returns error -36?
  • Next by thread: Re: FSGetVolumeMountInfoSize returns error -36?
  • Index(es):
    • Date
    • Thread