-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File objects for resource forks #3
Comments
I agree that resource forks should be added. For what it's worth, the spreadsheet view on FTK Imager for an HFS formatted image looks something like this. (Here,
If we followed that convention, the associated That would mean something like this in DFXML:
Though that begs the question as to how to map the other |
On nesting: At the moment, the DFXML language does not support nesting a The way to make a On naming convention: You've supplied two references for naming conventions, which themselves supply two conventions. First is FTK and OS X pre-10.7 (per the Xahlee page) naming the resource fork of I'm not sure what I'd personally want the resource fork name to be. However, on reviewing Matt Deatherage's notes on the |
Yes, right, you can't nest a It sounds like we need the following properties for a resource fork:
Is there anything I'm missing? That's enough to support it being its own My preference now is to use Will that work? |
On properties: Another property for a resource fork: There is an enumeration in the DFXML schema for the "Type" of a file. This way-too-overloaded term here would mean, "What's the type of file system object that resides at this name?" (The For now, please include a On names: I would personally most prefer whatever was native. Could you post a screenshot somewhere of 10.2 Classic Environment, with a textual path of a resource fork? That'd be fine justification to settle the name. |
Sounds good. I'll try to get some sort of documentation of the representation of a resource fork to include in this thread. |
Some visual documentation of forks follows. OS X 10.2, with Classic Environment, Power Mac G4 This shows that the file For verification, here is the same executable file listed through In contrast, here is how the paths look on a recent Intel Mac Mini: Look good? (Disk image used: Shock in the Ear) |
That is great reference material. I assume if you could take a picture of an OS 9 or earlier environment, you would see I still feel it's the developer's call whether to go with |
Alternative file name sources are a possibility. Given enough use cases, we can design a sane interface for them. As for the CD image example, I think it is better for that to be a separate |
Given that, If I go with the current OS X convention of using Default output is to use the colon as a path delimiter and name resource forks using the convention Optionally, there can be a flag that will use current OS X conventions, and so the path delimiter will be a slash and the resource fork will be named |
This looks reasonable. Should the flag take a string argument naming the convention type, to allow for the intermediary convention |
I went back and forth on this, and originally I wasn't in support of the intermediary, but now I can start to see the rationale. So there would be three options for output, corresponding to the following cases: I would argue that since subset of the second case (i.e., OS 10.0-10.4) includes the Classic Environment layer, that would support the use case for having the intermediary convention. Hopefully in the next few weeks I can make this change to the code -- at the very least, I can add options for the path output formats listed above. Related, is there something in the DFXML specification that I should use to denote non-standard path delimiters? I know you had mentioned the possibility of that a while back, but I wasn't sure where it stood now. |
Per discussions at CurateGear, it would be helpful for
hfs2dfxml
to separate out the forks of files. I think it makes the most sense to create a separate<fileobject>
for each fork, but I'm not sure what the most correct naming scheme would be. For a file namedfoo
,._foo
seems to be the resource fork bundled with file metadata, according to the citations for the HFS Wikipedia page's compatibility section. I don't recall from my grade school years whethermacunpack
's current practice of naming resource forksfoo.rsrc
are the widest adopted practice.The text was updated successfully, but these errors were encountered: