Re: dpkg and hardlinks
Peter Samuelson wrote:
> [Jerome Warnier]
>
>> 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?
>>
>
> You know, given the time it takes to type a 20-line email, including
> finding the appropriate Wikipedia article to link to, it would have
> been a lot faster to just try it.
>
> # ln /bin/ls /bin/ls2
> # aptitude reinstall coreutils
> # ls -l /bin/ls /bin/ls2
>
Maybe, but I also wanted to bring attention to it. ;-)
Interesting subject, isn't it?
Reply to: