Coder Social home page Coder Social logo

Comments (6)

rsaxvc avatar rsaxvc commented on August 19, 2024 1

zerofree will fill the slack space(by default with zero). When I ran it on the torbox image, it reported it would fill 83494 disk blocks, or around ~340MB, which will compress more easily once zeroed as well.

from torbox.

radio24 avatar radio24 commented on August 19, 2024

Thank you for your suggestion. I have to look into this in more detail because these files on the "second partition" are most likely related to "pishrink" and needed to expand the image file on the storage medium (usually an SDCard) of the target system.

In an expanded and installed TorBox System, there are only these two partition (/boot and /):
/dev/mmcblk0p1 8192 532479 524288 256M c W95 FAT32 (LBA)
/dev/mmcblk0p2 532480 31116287 30583808 14.6G 83 Linux

from torbox.

rsaxvc avatar rsaxvc commented on August 19, 2024

I mean / is the second partition, but /etc is the first directory in it with leftover files.

I'm also surprised pishrink didn't strip those out.

from torbox.

radio24 avatar radio24 commented on August 19, 2024

Do you have any suggestions, how I can easily get rid of all these leftover files?

from torbox.

radio24 avatar radio24 commented on August 19, 2024

Thanks! I will definitely give it a try with the next release.

from torbox.

radio24 avatar radio24 commented on August 19, 2024

Update: I just used zerofree on the TorBox v.0.4.1 image, which will be released in the following hours. The result is impressive: the compressed image is almost 220 Mb smaller than the one from TorBox v.0.4.0. Thank you for this suggestion!

from torbox.

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.