Jim Meyering wrote:
> Pádraig Brady wrote:
>> Should `cp --reflink` unlink() files if the clone fails
>> rather than leaving zero length files around?
> 
> The only argument I can come up with is "be consistent with POSIX cp",
> which would leave the empty file.
> 
> However, I don't feel strongly about it, so if you have a good reason
> to unlink it, go ahead.
> 
> Also be sure that with --backup, the usual "goto unbackup;" does
> the right thing.

I'll leave it as is for now I think.

thanks,
Pádraig.


Reply via email to