On Wed, 2007-01-17 at 01:05 +0200, Timo Sirainen wrote:
On Tue, 2007-01-16 at 21:48 +0100, Tristan Woudenberg - Prism Mail Solutions wrote:
du -sh cur new 4.1M cur
From the ls -l output that you sent me:
cat ls|awk '{print $5"+"}'|tr -d '\n'|sed 's/+$/\n/'|bc 3488542
So your filesystem has lost 0,7MB somehow. Are there any hidden files (ls -la)? If not, then I can think of two things:
There's a large file (or more) that have already been deleted, but some process (stuck maybe?) still keeps them open. But if you've rebooted since, this can't be the case.
Your filesystem has messed up something.
Actually the most obvious reason that I for some reason failed to think of:
- Your filesystem's block size is 4kB, and there's lots of wasted space because of that.
cat ls|awk '{print "("$5"+4095)/4096+"}'|tr -d '\n'|sed 's/^/(/'|sed 's/+$/)*4096\n/'|bc 4096000
So, no bugs anywhere.