Comments (3)
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.
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.
The error message is unhelpful enough that it needs fixing.
from compsize.
Related Issues (20)
- wrong size: 1036 bytes file reported as 140M HOT 10
- Show sparse usage. HOT 1
- Change the name to btrfs-compsize HOT 4
- Error messages with Kernel 5.8.8 HOT 13
- compsize should also show dedupe% and total% not only comp% HOT 6
- Regular extent's header not 53 bytes (0) long?!? HOT 1
- compsize could be more user-friendly (from an enduser perspective) HOT 2
- SEARCH_V2 buffer is too big, slows compsize down HOT 8
- Support DESTDIR in Makefile
- Issues reported by static analysis HOT 1
- Option to always shows count of extents
- Makefile: Ensure that MAN_I directory exists
- Setuid root? HOT 3
- Add option to set fixed output format for size or at least raw bytes HOT 1
- Option to print each file HOT 4
- Feature request: compsize --find HOT 3
- Is the extent number accurate for telling file's fragmentation for compressed files? HOT 17
- Crazy values HOT 4
- Feature request: output only one value instead of a table HOT 2
- All empty or still-delalloced files.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compsize.