Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have gotten an experimental raspberry pi kernel image with hfsplus support built and gentoo installed on the same filesystem. I read that accessing filename/rsrc can access the resource fork. I found that attempts to use touch to create an empty resouce fork gives back an access denied error even as root. How do you create a named fork such as rsrc under linux?

Also I ask, what format does the resource map in classic MacOS happen to use (it is okay to explain with either c data types (i.e. char[4]) or even resource types (i.e. CSTR))?

Once I have the answer to the second question I will build a linux based resource manipulation library in c++. I already know how to code a simple doom wad editor/parser in c++.

or I could also ask, how does one set extented attributes under linux?

share|improve this question

"how does one set extented attributes under linux?" => setfattr

But as for your original question, the hfsplus implementation in Linux doesn't seem to implement creating resource forks.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.