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

Re: dpkg bug?



Santiago Vila <sanvila@unex.es> wrote:
> I have found a "little" problem: it seems that when a conffile is
> automatically replaced by a newer one (because it has not been modified),
> any hard links to that conffile are "destroyed" (i.e. only the conffile is
> replaced, not the links, and they are not linked anymore).

This is intrinsic in the mechanism dpkg uses to achieve atomic
updates of files (rename).  If you want links to survive upgrades
in this environment, use symlinks (they'll even give you a "file
not found" if the file is removed).

-- 
Raul


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: