[Rpm-maint] [rpm-software-management/rpm] Improve hardlink handling in the disk space calculation (#394)
Michael Schroeder
notifications at github.com
Wed Feb 14 12:35:01 UTC 2018
Before this commit, rpm simply did not take hardlinks into account when calculating disk space requirements. This made it fail spectaculary for packages that contain a high number of hardlinks, like glibc-locale.
We now "bind" the file size to the last hardlink member. This is still not 100% correct as the last file may not get installed in some cases or only the last file may be replaced. But it is still much better than what rpm did before.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/394
-- Commit Summary --
* Fix inode handling for zero-sized files
* Improve hardlink handling in the disk space calculation
-- File Changes --
M lib/rpmfiles.h (2)
M lib/transaction.c (32)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/394.patch
https://github.com/rpm-software-management/rpm/pull/394.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/394
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180214/3a1ce33f/attachment.html>
More information about the Rpm-maint
mailing list