Re: my filesystem vs Finder. "error -50" what does it mean?
Re: my filesystem vs Finder. "error -50" what does it mean?
- Subject: Re: my filesystem vs Finder. "error -50" what does it mean?
- From: Wim Lewis <email@hidden>
- Date: Mon, 16 Apr 2012 14:18:07 -0700
On 16 Apr 2012, at 2:06 PM, Anatol Pomozov wrote:
> I am working on my filesystem (fuse4x - fuse implementation for macosx). And sometimes I have bugs in it that lead to Finder errors.
>
> For example Finder popups with "error -50" and I suspect that it is related to setattr() function, probably size of the written file. Finder does not like something that my filesystem does. And I want to know what *exactly* Finder does not like.
>
> Is there any table that explains all the "error -N" popup errors? Is this part of Finder open so I can read it?
These are Carbon error numbers percolating up from whatever dusty old API the Finder is calling. You can find them in various system header files. Unfortunately -50 is a fairly uninformative, general failure error:
> paramErr = -50, /*error in user parameter list*/
One thing you could try is use one of the dtrace scripts to watch the syscalls the Finder is making, and see what has failed recently when it gives you the error dialog.
_______________________________________________
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