summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-10-06 11:02:34 +0100
committerPádraig Brady <P@draigBrady.com>2014-10-15 02:19:48 +0100
commitcce161dc05c05e1356e6e563e7628637cc54a134 (patch)
treed35985c9f0054cedf235a1013721400b0d2ac320 /NEWS
parenteafa6ebf10924ec36cb5d28fd9d97a23de089bd0 (diff)
downloadcoreutils-cce161dc05c05e1356e6e563e7628637cc54a134.tar.xz
cp: read sparse files more efficiently with non regular destination
* src.copy.c (copy_reg): Use fiemap to read sparse files, even if the output is not to a regular file. * NEWS: Mention the improvement.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e7aef7725..52332bd11 100644
--- a/NEWS
+++ b/NEWS
@@ -36,6 +36,9 @@ GNU coreutils NEWS -*- outline -*-
cp,install,mv will convert smaller runs of NULs in the input to holes,
and cp --sparse=always avoids speculative preallocation on XFS for example.
+ cp will read sparse files more efficiently when the destination is a
+ non regular file. For example when copying a disk image to a device node.
+
mv will try a reflink before falling back to a standard copy, which is
more efficient when moving files across BTRFS subvolume boundaries.