]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp: add --reflink=never to force standard copy mode
authorAdam Borowski <kilobyte@angband.pl>
Sun, 17 Jun 2018 22:38:04 +0000 (00:38 +0200)
committerPádraig Brady <P@draigBrady.com>
Thu, 21 Jun 2018 04:17:19 +0000 (21:17 -0700)
commit163df41d45bcc6615915ca507264dde090aba44d
tree6ceaf46b74a24d13c10623e58b2af1f4a7c378d6
parent668306ed86c8c79b0af0db8b9c882654ebb66db2
cp: add --reflink=never to force standard copy mode

This mode is currently the default, but most if not all users of
reflink-capable filesystems want --reflink=auto, which is often
encapsulated into an alias.  Adding --reflink=never allows overriding
such an alias.

* doc/coreutils.texi (cp invocation): Describe the new option.
* src/cp.c: Support --reflink=never.
* tests/cp/reflink-auto.sh: Add a test case.
* NEWS: Mention the new feature.
NEWS
doc/coreutils.texi
src/cp.c
tests/cp/reflink-auto.sh