Coder Social home page Coder Social logo

picluster's Issues

pishrink.sh失效了,缩减前是59G,之后还是59G

[root@localhost pishrink]# ./pishrink.sh rpi.img
pishrink.sh v0.1
Gatherin data...
Creating new /etc/rc.local
Checking filesystem...
/dev/loop0: 174624/3866624 files (0.1% non-contiguous), 3111376/15446523 blocks
resize2fs 1.42.9 (28-Dec-2013)
Shrinking filesystem...
resize2fs 1.42.9 (28-Dec-2013)
Resizing the filesystem on /dev/loop0 to 2951986 (4k) blocks.
Begin pass 2 (max = 108763)
Relocating blocks XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 3 (max = 472)
Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 4 (max = 21022)
Updating inode references XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The filesystem on /dev/loop0 is now 2951986 blocks long.

Shrinking image...
Shrunk rpi.img from 59G to 59G...

你好我使用./dumptf2img.sh 生成rpi.img镜像
./dumptf2img.sh /dev/sdd ./rpi.img
之后,使用pishrink.sh 但是镜像体积没有缩小

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.