Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Your Answer


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

Browse other questions tagged or ask your own question.