Re: Fwd: FSGetVolumeMountInfoSize returns error -36?
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