Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: add a mode for visualizing inodes distribution on the disk #264

Open
Drugoy opened this issue Jul 9, 2023 · 2 comments
Open

Feature: add a mode for visualizing inodes distribution on the disk #264

Drugoy opened this issue Jul 9, 2023 · 2 comments

Comments

@Drugoy
Copy link

Drugoy commented Jul 9, 2023

gdu class of utils is nice at finding out "the fat of the disk", but it currently can't solve a problem when a bunch of small files (that might not weigh much) can drain the pool of free inodes.

It would be nice to have gdu be capable of working in a mode where it visualizes the distribution of inodes on the disk, just like it currently does with files sizes.

@rwahyudi
Copy link

rwahyudi commented Aug 1, 2023

You can display the total number of files in the directory by typing 'c' and uppercase 'C' to sort the result by number of files. There is no graph visualization but for me, the number enough to paint the picture.

@Drugoy
Copy link
Author

Drugoy commented Aug 1, 2023

@rwahyudi thanks for the workaround, but I'd still prefer to have a proper visualization, especially given that it seems to not do the counting on the go, but rather at scan time, so it should probably be incredibly simple to just pass different data (inode count rather than used disk size) to the UI to visualize it nicely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants