-
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
disk image sometimes modified after hfs2dfxml.py is called #12
Comments
I have not seen it before. Can you supply the .001 image so I can try it out to see what's happening? Are you only seeing this with certain images, or does it happen every time? |
Of my 4 test images, only the one is failing (M1126-0001.001 is the same as my-hfs-disk-image.001). It's not my file so I'll have to confirm that I can make it public before sharing it. Unsure if the
Note that subsequent calls change the checksum in different ways:
Unsure if it's relevant, but the M1126-0001.001 image contains a .DS_Store file. |
Note also that I'm using a dev branch of a fork: https://github.com/Hwesta/hfs2dfxml/tree/patch-1 |
Thanks for the additional information. The Do let me know if you're able to send the disk image -- otherwise, we can go through the |
If the |
Have you tried running a |
@jrwdunham -- Just circling back to this: were you able to see if you could share the disk image with me so I can test this out on my system? |
@dd388 unfortunately the NYPL folks may not be available in the very near future to give me authorization to share this image. I'll let you know when I've heard from them and hopefully I can find some time to get more technical details on this issue (cf. suggestions above) in the meantime. |
I do have a copy of the disk image (thank you @jrwdunham!). Preliminary testing shows just the act of mounting the image using |
First test -- ran Did comparisons of all exported files -- as far as I can tell, they're all the same. Curious... (I also did |
Log output shows the disk image is opened with the flag of However, I see two I'll have to dig deeper to figure out what this data is, and why it's being written to the file. I'll also try to think about / work on a workaround/fix that sets the file as readonly before the script gets called. |
I re-compiled
Then the usual So that suggests to me that something is being set so that the disk image is now seen as "cleanly unmounted." In fact, the second time I mount the disk image, it doesn't show that error. If I take the disk image, and mount it subsequent times (after the first mount that edits it), it does not seem to change after that. But the way it changes the first time is different each time (which is what @jrwdunham reported.) So, this doesn't necessarily suggest a tidy solution (to me, so far) but I'll keep digging. |
Make what this as you can: According to |
If you set the file to readonly (in the filesystem) and run |
If you run hfs2dfxml.py against certain HFS disk images in order to generate DFXML it can modify the disk image:
Have you seen this behaviour before? I may be able to supply the offending .001 disk image, if helpful.
The text was updated successfully, but these errors were encountered: