summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-01-30 21:27:12 +0100
committerJim Meyering <meyering@redhat.com>2011-01-30 21:30:35 +0100
commit5b11cd01790473b1964a0f91eca5205dfdcae773 (patch)
treec5fe2fc6e4f3fe6ec1949977cb019d8f33eaa3ff /NEWS
parent199355e234c72f1ff8b19b3917a4ad4e103775ab (diff)
downloadcoreutils-5b11cd01790473b1964a0f91eca5205dfdcae773.tar.xz
doc: NEWS: mention cp's improvement
* NEWS (New Features): cp now copies sparse files efficiently.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6e7efe195..042bfed00 100644
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,15 @@ GNU coreutils NEWS -*- outline -*-
** New features
+ cp now copies sparse files efficiently on file systems with FIEMAP
+ support (ext4, btrfs, xfs, ocfs2). Before, it had to read 2^20 bytes
+ when copying a 1MiB sparse file. Now, it copies bytes only for the
+ non-sparse sections of a file. Similarly, to induce a hole in the
+ output file, it had to detect a long sequence of zero bytes. Now,
+ it knows precisely where each hole in an input file is, and can
+ reproduce them efficiently in the output file. mv also benefits
+ when it resorts to copying, e.g., between file systems.
+
join now supports -o 'auto' which will automatically infer the
output format from the first line in each file, to ensure
the same number of fields are output for each line.