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

Exclude read-only filesystems from check-disk-usage.rb #113

Open
DrMurx opened this issue Feb 5, 2019 · 0 comments
Open

Exclude read-only filesystems from check-disk-usage.rb #113

DrMurx opened this issue Feb 5, 2019 · 0 comments

Comments

@DrMurx
Copy link
Contributor

DrMurx commented Feb 5, 2019

check-disk-usage.rb usually checks all mounted filesystems unless specific ignore/include options are given. However, it doesn't make a lot of sense to check read-only filesystems. My PR #112 addresses this with a new option --ignore-readonly.

However, I'd strongly vote for a breaking change and ignore read-only filesystems by default unless a new parameter --include-readonly is given or such a filesystem's mountpoint is explicitly specified in the -I (:includemnt) option.

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

1 participant