Re: FSSetCatalogInfo and apple DoubleHeader
Re: FSSetCatalogInfo and apple DoubleHeader
- Subject: Re: FSSetCatalogInfo and apple DoubleHeader
- From: Quinn <email@hidden>
- Date: Mon, 2 Mar 2009 13:21:21 +0000
At 13:00 +0000 2/3/09, Alan Shouls wrote:
My test fails as the file-type and creator has not changed. Looking
through my log I can see that I am getting file-system calls to get
information about the doubleheader file but no call to create it. Is
this what is expected?
No. I would've expected this test to create an AppleDouble file.
None of the FSGetCatalogInfo or FSSetCatalogInfo calls return an error code.
In situations like this I generally advise that you start testing
lower down, with getattrlist and setattrlist. File Manager
introduces all sorts of complexities and, while you'll have to deal
with these complexities eventually, it's better to start with the
simple stuff. Once you've isolated the issue to a single
setattrlist, it's easy to peek at what the kernel's doing via DTrace.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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