Collin Funk <[email protected]> writes:

> Hi,
>
> Is there a reason that 'install --reflink' does not exist? I was curious
> myself, and saw someone asked the same thing a few years ago [1]. As far
> as I can tell they didn't get a response, but the lists.gnu.org
> interface isn't great at tracking things across months so I could have
> missed it.
>
> I can't immediately think of why it shouldn't be supported. Both cp and
> install have --debug, though I suppose that is more useful for
> --reflink=auto and copying items which may go to a different file
> system.

I have no objection to it, but I wonder if there's much value in it.

install already defaults to --reflink=auto (*):

static void
cp_option_init (struct cp_options *x)
{
  cp_options_default (x);
  x->copy_as_regular = true;
  x->reflink_mode = REFLINK_AUTO
...
  x->sparse_mode = SPARSE_AUTO;
...
}

Would we want to add a control for sparse too?

(*) This was not the case at the time of the ML post you mention as [1].

> [...]

sam

Attachment: signature.asc
Description: PGP signature

Reply via email to