Hi!

On Wed, 2015-01-07 at 20:58:55 +0100, Guillem Jover wrote:
> Hmm does anyone know what is done in the rpm-world, probably
> by yum (otherwise I might take a look)?

Ok, I checked yum and rpm, and the disk space and inode usage delta
is tracked in rpm itself. It just adds a "problem" to the transaction
in case either of the above are depleted, which are reported on
install or erasures. It does the tracking per file as it has that
access itself, and compares against the different traversed mount
points, so it's more precise than Installed-Size (which is something
I also had in mind possibly doing in dpkg once it tracks the files
metadata, to report it back to frontends).

But rpm also does the comparison against the apparent file sizes, so
it has the same problem of over or underestimating the disk usage
depending on the target filesystem setup reported in this bug.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150108020750.ga1...@gaara.hadrons.org

Reply via email to