Re: [PATCH] cp: add --reflink=auto option to fall back to standard copy
From:
Pádraig Brady
Subject:
Re: [PATCH] cp: add --reflink=auto option to fall back to standard copy
Date:
Wed, 26 Aug 2009 11:01:58 +0100
User-agent:
Thunderbird 2.0.0.6 (X11/20071008)
Pádraig Brady wrote:
> Attached is a patch to add a new parameter to the --reflink option,
> which will perform a standard copy if COW is not supported.
I wonder should we allow --sparse={never,always} with --reflink=auto
as a standard copy could be done in this case? I.E. one could envisage
doing the following to create the smallest copy possible:
cp --reflink=auto --sparse=always
cheers,
Pádraig.