-
Notifications
You must be signed in to change notification settings - Fork 178
Description
We're doing a large number of UAC collections and some of the hosts have very large file systems attached. UAC dives into these file systems and never finishes because there are too many files and directories to scan.
I'm proposing adding a new option to uac.conf called exclude_mount_size that would add any mount points that have more than the specified space used to the __UAC_EXCLUDE_MOUNT_POINTS variable. If exclude_mount_size is zero then the feature is disabled, and this would be the default.
The only reasonably portable way I can think of to get the amount of disk usage for each mount point is to parse the output of df. If anybody has a better solution, I'm open to your suggestions.
I'm going to code this into our local version of UAC. Let me know if you want me to send a pull request when I'm finished.