feat: automatically skip large file systems#427
feat: automatically skip large file systems#427halpomeranz wants to merge 2 commits intotclahr:developfrom
Conversation
Adding a new configuration variable, exclude_mount_size. If non-zero, exclude any file systems (except the root file system) that are using more than than the specified amount of disk space. May use usual size units-- for example, "4T" for terabytes. Default is zero, which disables this feature. Signed-off-by: Hal Pomeranz <hrpomeranz@gmail.com>
|
Don't you think it would be good to use bytes as the size unit as I can do the proper changes if you agree. |
|
To turn this around, wouldn't it be cool if all of these parameters accepted the units that We could take the logic from Yes, I was put on this earth to make life difficult. :-) |
|
Ok, I can rename We could make it a helper function (same as |
Adding a new configuration variable, exclude_mount_size. If non-zero, exclude any file systems (except the root file system) that are using more than than the specified amount of disk space. May use usual size units-- for example, "4T" for terabytes. Default is zero, which disables this feature. Per Issue #415