compile busybox cp with reflink support
Given that:
(a) Alpine supports BTRFS
(b) Alpine uses busybox as its default coreutils
It would be useful if that enabled access to functionality useful for BTRFS (namely —reflink).
Comments in the busybox code (https://git.busybox.net/busybox/tree/coreutils/cp.c) seem to suggest there is reflink support if you choose to compile it:
//config:config FEATURE_CP_REFLINK
//config: bool "Enable --reflink[=auto]"
//config: default y
//config: depends on FEATURE_CP_LONG_OPTIONS
(from redmine: issue id 9334, created on 2018-08-23, closed on 2019-01-23)
- Changesets:
- Revision 6e465f74 by Natanael Copa on 2019-01-10T14:57:24Z:
main/busybox: backport cp --reflink support
fixes #9334