igor0
5
I also think that in general, the percentage estimate would have to be done 2 pass. And I’m not even sure whether the first pass would be “insignificant in terms of processor time”. Well, speaking of real CPU usage, then yes, but otherwise browsing the disk might take quite a while…
As for the changes of the content during the scan… well, I think we would be happy with an estimate, not an exact predition, so I don’t think monitoring the changes would be necessary.
For special cases (as e.g. scanning the whole partition) some very rough estimate might be based on the disk space occupied by the files (and summing the files found during the scan). However, when scanning of archives is turned on… then even this estimate might be completely wrong.