Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498162 - sys-apps/coreutils - enable cp --reflink=auto by default
Summary: sys-apps/coreutils - enable cp --reflink=auto by default
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
: 528316 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-15 11:20 UTC by poncho
Modified: 2022-12-26 07:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description poncho 2014-01-15 11:20:12 UTC
would you be willing to add an reflink useflag to enable reflink=auto by default?

--- coreutils-8.21/src/cp.c~    2013-06-22 21:50:26.265639114 +0100
+++ coreutils-8.21/src/cp.c     2013-06-22 21:51:06.880513924 +0100
@@ -775,7 +775,7 @@ cp_option_init (struct cp_options *x)
   x->interactive = I_UNSPECIFIED;
   x->move_mode = false;
   x->one_file_system = false;
-  x->reflink_mode = REFLINK_NEVER;
+  x->reflink_mode = REFLINK_AUTO;

   x->preserve_ownership = false;
   x->preserve_links = false;

see https://unix.stackexchange.com/questions/80351/why-is-cp-reflink-auto-not-the-default-behaviour

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2014-01-16 01:37:25 UTC
this is a matter for upstream.  they can be reached at bug-coreutils@gnu.org.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-26 07:36:19 UTC
*** Bug 528316 has been marked as a duplicate of this bug. ***
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-26 07:36:27 UTC
This was done in coreutils 9.0.