Re: Changes to Disk Arbitration in Panther
Re: Changes to Disk Arbitration in Panther
- Subject: Re: Changes to Disk Arbitration in Panther
- From: Marek Kozubal <email@hidden>
- Date: Mon, 23 Feb 2004 20:01:54 -0500 (EST)
On Mon, 16 Feb 2004, Ron Aldrich wrote:
>
I tried hard coding the full path to SAI_udf.util
>
(/System/Library/Filesystems/SAI_udf.fs/SAI_udf.util) in my Info.plist,
>
but that had no effect. I also tried changing my probe order value
>
from 500 to 1500 (Apple's udf probe order value is 1000), but that just
>
made it so that disk arbitration never even tried to probe SAI_udf.
The .util path is relative to the Resources/ Directory within the bundle.
Make sure that your .util is returning from main() the appropriate error
codes as well.
They are defined in loadable_fs.h i think its called.
ie:
int main(int,char**)
{
/* do stuff */
return <code from loadable_fs.h>;
}
If you just blindly return 0, DiskArb will think you failed. There are
very specific series of return values you need to return w/each arguments
to successfully mount a disk.
>
I tried searching around in what bit of the darwin sources I currently
>
have available (xnu-517.3.7) for "probed disk" to find where the error
>
message is being generated, but I can't find that string, and since
>
Apple seems to have done their best to make it extremely difficult to
>
check all of darwin out from CVS, I really don't want to have to load
>
it project by project, just to search it. (Does anyone know a trick
>
for checking all of darwin out at once? Or failing that, how to get a
>
list of all of the module names?)
Its in diskarbitration. Its got its own entry on Apple's CVS pages.
---
Marek Kozubal
email@hidden
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.