bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] cp --reflink handling of failed clones


From: Pádraig Brady
Subject: Re: [RFC] cp --reflink handling of failed clones
Date: Wed, 26 Aug 2009 11:29:23 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

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

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