[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8419: cp -au : New hard links in source becomes new files at destina
From: |
Jim Meyering |
Subject: |
bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au |
Date: |
Wed, 27 Jul 2011 14:10:31 +0200 |
Pádraig Brady wrote:
> On 26/07/11 14:23, Jim Meyering wrote:
>> Pádraig Brady wrote:
>> ...
>>
>>> Note also your original test didn't fail for me on ext4 on F15.
>>
>
>> I suspect you'll see that it's processing those two files in the reverse
>> order on your system. In case it's kernel-related, I'm using this:
>> 2.6.38.8-32.fc15.x86_64
>> and the disk is an SSD.
>
> My guess here is there is inode sorting going on,
> which is unstable and returning matching inodes in
> a non deterministic order?
>
> Anyway I've updated the test (attached) to try both ways.
...
> Subject: [PATCH] tests: cp/preserve-link: test all relevant paths
>
> * tests/cp/preserve-link: Add test cases for when a missing
> link in the destination tree is encountered first and second.
> Also add cases for old and new separate files in the destination
> tree, both to make the clobbering behavior explicit, and to
> test any changes in this area in future.
Thanks!
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, (continued)
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, Jim Meyering, 2011/07/25
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, Pádraig Brady, 2011/07/25
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, Pádraig Brady, 2011/07/25
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, Pádraig Brady, 2011/07/25
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, Jim Meyering, 2011/07/26
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, Jim Meyering, 2011/07/26
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, Pádraig Brady, 2011/07/26
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, Jim Meyering, 2011/07/26
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, Pádraig Brady, 2011/07/26
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, Pádraig Brady, 2011/07/27
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au,
Jim Meyering <=
- bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au, Jim Meyering, 2011/07/26