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

FSSetCatalogInfo and apple DoubleHeader


  • Subject: FSSetCatalogInfo and apple DoubleHeader
  • From: Alan Shouls <email@hidden>
  • Date: Mon, 2 Mar 2009 13:00:10 +0000

Hi,

I am porting a remote file-system from the PC to OSX. As I make progress I am writing test cases.

The file system does not support extended attributes so my understanding is that the OS magically cuts in and creates corresponding Apple doubleheader files where they are required.

My initial test is quite simple.

- create a file using POSIX open and close
- Get the finder info using FSGetCatalogInfo
- change the finder info so it has a custom creator and file type
- use FSSetCatalogInfo to set this finder info
- use FSGetCatalogInfo to pull the finder info on the file and test it contains the new values.


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? None of the FSGetCatalogInfo or FSSetCatalogInfo calls return an error code.

Best regards

Alan Shouls
_______________________________________________
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: Quinn <email@hidden>
  • Next by Date: Re: FSSetCatalogInfo and apple DoubleHeader
  • Next by thread: Re: FSSetCatalogInfo and apple DoubleHeader
  • Index(es):
    • Date
    • Thread