GithubHelp home page GithubHelp logo

Comments (6)

unsound avatar unsound commented on July 2, 2024

I think that this issue is fixed in HEAD. The exact commit should be d1ed9af. However please confirm.

I haven't been watching the issues here on github so sorry about the lack of response.

from dmgextractor.

Blaisorblade avatar Blaisorblade commented on July 2, 2024

Thanks for your answer, and for writing this program in the first place!

TL; DR. I can't test it now and I fear I won't come around to testing this again, but from looking at the code I think the issue is fixed.

From looking at the commit and comparing with my quick hack (f802459), I guess the issue is indeed fixed (the only change is that you have more error handling). In the end I did recover the data I wanted.

EDIT: split post.

from dmgextractor.

Blaisorblade avatar Blaisorblade commented on July 2, 2024

In fact, to save my data without having so much extra space around (I had a 250G image), I ended up extracting the partition table and writing a script to "loop-mount" the different partitions on Linux (with dmsetup). I don't quite think you should include that in the app (though it might make some sense for Linux users); I just wanted to reuse your parsing code and process the results a bit.

Hacky code here. I really really really don't like the organization of the code, but it was useful for me. A cleaner approach would have been to split the backend into a reusable library, but that'd be quite some work.

from dmgextractor.

unsound avatar unsound commented on July 2, 2024

Ok, thanks. Closing this issue since it seems to be fixed.

As you say, the loop-mounting script modifications is not really in the scope of dmgextractor so there's no reason to include it, but maybe somebody else with a similar problem will find this useful.

A better solution for this kind of case would be to expose the device (or individual partitions) over FUSE.

from dmgextractor.

unsound avatar unsound commented on July 2, 2024

I actually went ahead to create a FUSE driver which does just this. It's in an early stage, but should be functional (there will probably be bugs in this first version).

See the 'fuse' branch if you are interested.

from dmgextractor.

Blaisorblade avatar Blaisorblade commented on July 2, 2024

Wow, that's very cool to hear, thanks a lot! I'm curious to take a look in the future.

from dmgextractor.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.