[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10686: mv: moving hardlink of a softlink to the softlink does nothin
From: |
Bernhard Voelker |
Subject: |
bug#10686: mv: moving hardlink of a softlink to the softlink does nothing |
Date: |
Wed, 01 Feb 2012 12:43:25 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0 |
On 02/01/2012 09:21 AM, Bernhard Voelker wrote:
> $ touch f && ln -s f l && ln l s && ls -ogi
> total 0
> 6444 -rw-r--r-- 1 0 Feb 1 08:52 f
> 6462 lrwxrwxrwx 2 1 Feb 1 08:52 l -> f
> 6462 lrwxrwxrwx 2 1 Feb 1 08:52 s -> f
>
> Trying to mv the hardlink over the symlink seems to succeed:
>
> $ ~/git/coreutils/src/mv s l
>
> ... but the name 's' was not unlinked:
...
> That behaviour didn't change at least since version 7.1
> (on openSuSE-11.3), but back in the earlier days in 5.93
> (SLES-10.3), 's' disappeared as expected:
Hmm, looks like commit
f1d1ee91217d08527c6bf7682987339e38116268
introduced this in 2006.
Have a nice day,
Berny