in reply to Re: What's eating all your disk space? -- duke!
in thread What's eating all your disk space?

If your $size is an integer multiple of your $blksize, you'll overstate $size by $blksize in

$size = $blksize*(1+(int($size / $blksize)));