On 11/29/2010 03:45 AM, Igor Smitran wrote:
I've noticed that vusagec calculates space based on file size, but it is
prone to errors in case it needs to calculate many emails that are
smaller than block size.
In case file size is smaller than block size file system will use e.g.
4KB for that file and vusagec will calculate real size. In my example
file system is giving me 230 GB used space and vusagec gives me 100GB
used space. It is huge error in my opinion.
So, which do you consider 'real' size? ;)
FWIW, I'd (also) like to see usage based on what's actually used. I'm
not sure that's practical to do though, and can see where it'd be a bit
more difficult to implement.
BTW, which version of vpopmail are you running?