Git Product home page Git Product logo

Comments (3)

kilobyte avatar kilobyte commented on July 25, 2024

Yeah, the handling of non-btrfs filesystems is not as good as it should be.

"Inappropriate ioctl for device" still sounds better than "Not a typewriter" this ioctl would say a while ago (its #define is still named ENOTTY), but an expected error should provide a more obvious message.

I still think that failing immediately when given a non-btrfs initial directory is a good idea, as most of the time all the recursive traversal would be pointless. Should probably have an override for your use case, though.

Any advice?

from compsize.

andras-kiss avatar andras-kiss commented on July 25, 2024

Thank you for the response. I'm not a developer at all (at least not programmer). I've unmounted the samba share in my home directory (subfolder in home: /home/akiss/share), and compsize produces a report. Yes, maybe it would be useful if compsize ignored any non-brtfs subfolder, or maybe included that in the report. It would help to get compression stats on root even in the common case when there is a separate ext boot partition mounted.

I think it's really cool to see how much smaller data becomes with compression. I hope it will be in the kernel soon as part of brtfs-progs.

from compsize.

kilobyte avatar kilobyte commented on July 25, 2024

The error message is unhelpful enough that it needs fixing.

from compsize.

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.