-
-
Notifications
You must be signed in to change notification settings - Fork 418
Add only* flags to show only specified devices info #80
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
Conversation
I think there are too many flags about showing or hiding specific fs types. Maybe a better way to do this is to simplify those bool flags with a couple of string flags? For example:
|
@RangerCD I tend to agree, it's becoming too complex. I also fear that the current logic is really hard to debug & maintain - especially when adding an |
@RangerCD, review my last commit, I've refactored code. I think it's clear now |
@idsulik Yeah, this is much cleaner now, nice work! |
Awesome, thank you @idsulik! |
Add only* flags to show only specified devices info
To show only individual tables:
duf --only-local --only-network --only-fuse --only-special --only-loops --only-binds
To show only specific filesystems:
duf --only-fs tmpfs,vfat
Close #79