RPM needs to go on a diet.

Nigel Metheringham Nigel.Metheringham at dev.intechnology.co.uk
Thu Feb 17 17:00:39 UTC 2005


On Thu, 2005-02-17 at 17:49 +0100, Kyrre Ness Sjobak wrote:
> Why are hardlinks chosen over symlinks here?

Short answer:
	Think what happens when you delete a package.

Longer answer:
        install kernel-1.0-1 - modules are just put into /lib/mod...
        install kernel-1.0-2 - modules added, then converted to symlinks
        [now rpm -Vv fails because there are symlinks, not files]
        remove kernel-1.0-1
        now kernel-1.0-2 has dangling symlinks 
        (oh, and you can't boot either)


	Nigel.
-- 
[ Nigel Metheringham           Nigel.Metheringham at InTechnology.co.uk ]
[ - Comments in this message are my own and not ITO opinion/policy - ]





More information about the fedora-devel-list mailing list