http://bugzilla.novell.com/show_bug.cgi?id=551678 User ma@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=551678#c3 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium CC| |ma@novell.com --- Comment #3 from Michael Andres <ma@novell.com> 2009-11-03 05:27:54 MST --- (In reply to comment #1)
I'm not sure, i'm not an expert on ext3. The calculation is just a simple difference between the 'installed size' reported by the packages to be removed and that of the packages to be installed. This installed size does not take the block sizes into account as well.
We'd actually be able to estimate the size per partition including bocksizes. libzypp/satsolver provide interfaces for this. BUT not all repositories supply the necessary disc usage information. It's missing in rpmmd repos. AFAIK here we even don't know the number of files included in a package. All this could be derived from the fileindex.xml, but we currently consider the pain of downloading this huge file bigger than the inaccuracy in size computation. Susetags repos contain an abstract that allows to estimate the size below individual directories, up do depth 3 in the filesystem (suse/setup/descr/packages.DU.gz in the repo). For 16510 packages in factory the downloadsize size is ~600K. If we'd get something similar into rpmmd, it could be worth thinking about a (hopefully) closer calculation per partition. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.