[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#522834: I saw this too



For me, the relevant partition was 

Filesystem            Size  Used Avail Use% Mounted on
...
/dev/sda5             138G   39G   92G  30% /home

The size of .kde was correctly reported as 720M; plenty of space for that, but 
kaboom claimed the partititon was over 80% in use and there was too little 
space.

Although it was clear to me that something is wrong, I tried to "cajole" it by 
clearing some space. I removed a ~13G folder, which reduced the reported use 
to a little over 50%, then I removed a couple more dvd iso images, which 
raised it back to over 70% (sorry, no exact numbers, as I did it all on the 
graphic login, going to a separate virtual console for file manipulations). At 
this point, I gave up.

It looks from here like an integer overflow... to validate this hunch, I just 
ran df again, without the '-h' flag; numbers are in Ks

/dev/sda5            144237688  40886472  96024372  30% /home

and kaboom (on another user)...

freeDirSpace "/home/xxx" 3839676416

and finally, in Python,

>>> 96024372*1024
98328956928L
>>> 96024372*1024 % 2**32
3839676416L

Yep. Looks like it.

Thanks, and have fun,
	Shai.




Reply to: