2
3
Fork
You've already forked ncsu
0

compression estimate support #234

Open
opened 2024年01月25日 14:17:58 +01:00 by axet · 1 comment
axet commented 2024年01月25日 14:17:58 +01:00 (Migrated from code.blicky.net)
Copy link

Hello!

Filesystems with compression can compress data. Using system tools it is possible to see compression rate for file/folder.

Would be nice to have two optional file sizes original and compressed to see in ncdu (v2?)

For example to see how good folder is compressed you have to run following commmand on btrfs:

sudo compsize -x /usr
Hello! Filesystems with compression can compress data. Using system tools it is possible to see compression rate for file/folder. Would be nice to have two optional file sizes original and compressed to see in ncdu (v2?) For example to see how good folder is compressed you have to run following commmand on btrfs: ``` sudo compsize -x /usr ```
yorhel commented 2024年01月25日 14:28:47 +01:00 (Migrated from code.blicky.net)
Copy link

I'm open to adding such a feature in extended mode (-e). We'll need to figure out which syscalls to use, whether they provide the information at the right granularity and how well they perform when called in batches.

I'm open to adding such a feature in extended mode (`-e`). We'll need to figure out which syscalls to use, whether they provide the information at the right granularity and how well they perform when called in batches.
Sign in to join this conversation.
No Branch/Tag specified
zig
zig0.16
master
zig-threaded
openat
chdir
clear
compll
v2.9.3
v2.9.2
v2.9.1
v2.9
v2.8.2
v2.8.1
v2.8
v1.22
v1.21
v2.7
v2.6
v2.5
v1.20
v2.4
v1.19
v2.3
v1.18.1
v2.2.2
v1.18
v2.2.1
v2.2
v1.17
v2.1.2
v2.1.1
v2.1
v2.0.1
v2.0
v2.0-beta3
v2.0-beta2
v2.0-beta1
v1.16
v1.15.1
v1.15
v1.14.2
v1.14.1
v1.14
v1.13
v1.12
v1.11
v1.10
v1.9
v1.8
v1.7
v1.6
v1.5
v1.4
v1.3
v1.2
v1.1
No labels
1.x
2.x
bug
feature
imported
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
selfisekai/ncsu#234
Reference in a new issue
selfisekai/ncsu
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?