[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56391: `cp --reflink=always` creates empty file on failure
|
From: |
Pádraig Brady |
|
Subject: |
bug#56391: `cp --reflink=always` creates empty file on failure |
|
Date: |
Wed, 6 Jul 2022 12:17:22 +0100 |
|
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101 Thunderbird/98.0 |
On 05/07/2022 16:04, Paul Eggert wrote:
Thanks for reporting that. I installed the attached patch.
This will usually work, but there are cases where this may lose data,
as previously discussed at:
https://bugzilla.redhat.com/show_bug.cgi?id=921708
http://lists.gnu.org/archive/html/coreutils/2013-03/msg00056.html
I'm not sure cp can robustly clean up in this situation?
cheers,
Pádraig