• 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: FSSetCatalogInfo and apple DoubleHeader
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: FSSetCatalogInfo and apple DoubleHeader
      • From: Alan Shouls <email@hidden>
    • Re: FSSetCatalogInfo and apple DoubleHeader
      • From: Alan Shouls <email@hidden>
References: 
 >FSSetCatalogInfo and apple DoubleHeader (From: Alan Shouls <email@hidden>)

  • Prev by Date: FSSetCatalogInfo and apple DoubleHeader
  • Next by Date: Re: FSSetCatalogInfo and apple DoubleHeader
  • Previous by thread: FSSetCatalogInfo and apple DoubleHeader
  • Next by thread: Re: FSSetCatalogInfo and apple DoubleHeader
  • Index(es):
    • Date
    • Thread