diff options
author | David Sterba <dsterba@suse.cz> | 2014-09-24 11:15:05 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-09-24 11:48:22 +0100 |
commit | b47231be6813e6cb5305266e391b4bb745f27f13 (patch) | |
tree | 900dfc6c3b435477621b73cc3898cc950b41203b /NEWS | |
parent | 1ff4d088927147fa1587770fdbf8aea675fc3788 (diff) | |
download | coreutils-b47231be6813e6cb5305266e391b4bb745f27f13.tar.xz |
mv: use reflink=auto mode by default
On some filesystems (BTRFS), moving a file within the filesystem may
cross subvolume boundaries and we can use a lightweight reflink copy,
similar to what cp(1) can do, which is faster than a full file copy.
This is enabled by default because it's only an optimization for
the fall back copy and does not break user expectations or usability.
* src/mv.c (cp_option_init): Set the reflink mode to AUTO.
* NEWS: Mention the improvement.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,6 +24,9 @@ GNU coreutils NEWS -*- outline -*- ** Improvements + mv will try a reflink before falling back to a standard copy, which is + more efficient when moving files across BTRFS subvolume boundaries. + References from --help and the man pages of utilities have been corrected in various cases, and more direct links to the corresponding online documentation are provided. |