Re: dpkg and hardlinks
On Tue, 24 Mar 2009, Jerome Warnier wrote:
> For files from packages, though, deduplication might be a good idea, as
> dpkg is supposedly the only one to ever modify the files (under /usr for
> example).
> I don't know however how dpkg treats hardlinks. Does it "break" the
> hardlink before replacing a file or does it replace the file whatever
> its real nature is?
IIRC dpkg preserves hardlinks inside a binary package but I don't see how
it could do the same across multiple binary packages.
Cheers,
--
Raphaël Hertzog
Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny :
http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/
Reply to: