-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Small drives are shown in red even when there is plenty of space #136
Comments
This kind of works as intended. You'll still get to see a green value for the usage in percent. As I see it, unifying the color coding for both columns would only remove information. I do understand that everyone has different needs however, so maybe # Availability threshold, for example in gigabytes
$ duf --avail-threshold="10G,1G"
# Usage-threshold in percent between 0.0 and 1.0
$ duf --usage-threshold="0.5,0.9" |
The problem with the thresholds is they are global I imagine, against all disks. I don't want it to tell me when only 559.7M is available on my root partition, which could easily fill up in moments with caches and regular activities. |
@muesli Thank you for the response! Those options resolve my issue, so feel free to close. |
@muesli allowing to use --avail-threshold and --usage-threshold repeatedly with some kind of optional identifiers would solve this issue, more detailed description on |
When I create a 1 GB partition on my drive, and write 100 MB of data to it,
duf
highlights it in red. I assume this means low space and indicates that "only" 900 MB free space is left. However, a partition being 10% full hardly seems like something to be alarmed over.I suppose it is ultimately subjective whether people would care more about absolute or relative free space. Sounds like
duf
is going with the latter. Is there any possibility of focusing on relative space instead?/boot
and hence the 900 MB of free space is actually plenty.If it is desirable to keep the current behavior of going by absolute sizes, maybe we could have an option
--highlighting {relative|absolute}
?The text was updated successfully, but these errors were encountered: