Should rpm be hard linking files between packages

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

 



Hi,

Is it normal and expected for rpm to be hard linking, presumably
identical, files between independent packages?

It might be a natural occurrence because of the PartialHardlinkSets
support added to rpm 4.0.4.
http://docs.fedoraproject.org/drafts/rpm-guide-en/ch-rpm-evolution.html


Most of the Makefiles between the 2 different kernel-devel packages
are hard linked together like this:

[mike@rockover ~]$ ls -li /usr/src/kernels/*/arch/alpha/boot/Makefile
9457971 -rw-r--r-- 2 root root 3581 2008-08-04 19:17
/usr/src/kernels/2.6.25.14-108.fc9.i686/arch/alpha/boot/Makefile
9457971 -rw-r--r-- 2 root root 3581 2008-08-04 19:17
/usr/src/kernels/2.6.26.3-29.fc9.i686/arch/alpha/boot/Makefile
[mike@rockover ~]$ rpm -qf /usr/src/kernels/*/arch/alpha/boot/Makefile
kernel-devel-2.6.25.14-108.fc9.i686
kernel-devel-2.6.26.3-29.fc9.i686
[mike@rockover ~]$ find /usr/src/kernels/2.6.26.3-29.fc9.i686/ -name
Makefile -print | xargs ls -l | awk '{ln[$2]=ln[$2]+1} END{for (i in
ln) print i, ln[i]}'
1 247
2 774


Thanks,
Mike

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux