Giter Club home page Giter Club logo

Comments (10)

RJVB avatar RJVB commented on July 21, 2024 1

Can you please check with the latest commit?

from afsctool.

RJVB avatar RJVB commented on July 21, 2024 1

from afsctool.

gingerbeardman avatar gingerbeardman commented on July 21, 2024

this seems to be virtual memory. is your hard drive definitely ok? could it be failing?

how much VM was being used?

from afsctool.

RJVB avatar RJVB commented on July 21, 2024

from afsctool.

biziclop avatar biziclop commented on July 21, 2024

I don't remember where did I experiment first time, but this time GSmartControl warned about soft read errors, so I'll have to experiment more with another disk. Both the external drive hosting the large file and the startup disk have plenty of space (30+GB).

Anyway, I ran an experiment with just one file (a copy of an OSX installer image around 6-7GB). It took quite long, it ate all RAM, etc., but it apparently compressed the file, released all the memory. But at the verification phase (I think) it kernelpanicked again. I compared the compressed copy with the original with another tool, and … panic again. Copied the file to another drive, tried to open it, zip it, but they complained about "invalid argument" or such. afsctool -d image.dmg said that the (otherwise almost incompressible) file occupies 4GB on disk. Finder's Get Info said 6GB (compressed) 2GB on disk.

So it's funny. But as I said I have to test this more. Anyway, thanks for replying!

from afsctool.

RJVB avatar RJVB commented on July 21, 2024

from afsctool.

biziclop avatar biziclop commented on July 21, 2024

I actually made a service to Finder to (re)compress disk images, but this time I just sent afsctool to every old & forgotten file in a folder, because why not. This sh*t is somehow addictive :)

from afsctool.

biziclop avatar biziclop commented on July 21, 2024

Can you please check with the latest commit?

So far it works and when file is too big, it properly emits with unsupportable size.
Thanks! :)

BTW, maybe this useful tool could be promoted among developers who offer .dmg images with "drag this to the Applications folder to install". Gimp, LibreOffice, VirtualBox are compressed to less than the half of their original sizes. My top (by size) 3rd party apps are 29GB uncompressed, but became 14GB after compression. On small  SSDs, this can be quite a huge saving.

from afsctool.

gingerbeardman avatar gingerbeardman commented on July 21, 2024

BTW, maybe this useful tool could be promoted among developers who offer .dmg images with "drag this to the Applications folder to install".

I agree, perhaps @biziclop can ask the most popular DMG creation apps to add support?

from afsctool.

gingerbeardman avatar gingerbeardman commented on July 21, 2024

Yes, I meant @biziclop who raised the point.

I also think that Sparkle Updater framework could be educated in the same way about HFS+ compression.

from afsctool.

Related Issues (20)

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.