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 request: Hide squashfs filesystems by default. #17

Open
sktsee opened this issue Jan 7, 2023 · 1 comment
Open

Feature request: Hide squashfs filesystems by default. #17

sktsee opened this issue Jan 7, 2023 · 1 comment

Comments

@sktsee
Copy link

sktsee commented Jan 7, 2023

currently on Ubuntu 22.04 and currently have several snap package installed. When using dfrs (0.0.7), all looped devices for every snap application shows up in the listing which is rather useless since they all show 100% utilization. Was wondering if squashfs filesystems could be added to the list of filesystems that are normally hidden unless -a or -aa is used to show them.

@orhun
Copy link
Contributor

orhun commented Jan 7, 2023

I think this could be achieved by updating the DisplayFilter enum:

dfrs/src/args.rs

Lines 104 to 106 in af57a71

Self::Minimal => vec!["/dev*", "storage"],
Self::More => vec!["dev", "run", "tmpfs", "/dev*", "storage"],
Self::All => vec!["*"],

I'm not sure where squashfs is mounted but I can look into it and submit a PR if @anthraxx finds this applicable.

ypid added a commit to ypid/dotfiles that referenced this issue May 18, 2023
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