[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] cp --reflink handling of failed clones
From: |
Jim Meyering |
Subject: |
Re: [RFC] cp --reflink handling of failed clones |
Date: |
Wed, 26 Aug 2009 12:22:53 +0200 |
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.