bug-coreutils
[Top][All Lists]
Advanced

[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: Pádraig Brady
Subject: bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au
Date: Wed, 27 Jul 2011 10:35:14 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

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.

cheers,
Pádraig.

Attachment: cp-preserve-link.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]