aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-07-13 20:30:02 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-07-13 20:30:02 +0200
commit79fb6ac7a5acc4178b66314c573aeada1d387ed9 (patch)
tree421fd899e9dfcc5533b3107af6eba3de0f153044 /include/libbb.h
parent253f555f01fa380083a7436a569397a4e7f997b0 (diff)
downloadbusybox-w32-79fb6ac7a5acc4178b66314c573aeada1d387ed9.tar.gz
busybox-w32-79fb6ac7a5acc4178b66314c573aeada1d387ed9.tar.bz2
busybox-w32-79fb6ac7a5acc4178b66314c573aeada1d387ed9.zip
cp: optional --reflink support
function old new delta cp_main 428 512 +84 copy_file 1676 1742 +66 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index d4ba031df..94caba2bb 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -410,6 +410,9 @@ enum { /* cp.c, mv.c, install.c depend on these values. CAREFUL when changing th
410 FILEUTILS_PRESERVE_SECURITY_CONTEXT = 1 << 15, /* -c */ 410 FILEUTILS_PRESERVE_SECURITY_CONTEXT = 1 << 15, /* -c */
411#endif 411#endif
412 FILEUTILS_RMDEST = 1 << (16 - !ENABLE_SELINUX), /* --remove-destination */ 412 FILEUTILS_RMDEST = 1 << (16 - !ENABLE_SELINUX), /* --remove-destination */
413 /* bit 17 skipped for "cp --parents" */
414 FILEUTILS_REFLINK = 1 << (18 - !ENABLE_SELINUX), /* cp --reflink=auto */
415 FILEUTILS_REFLINK_ALWAYS = 1 << (19 - !ENABLE_SELINUX), /* cp --reflink[=always] */
413 /* 416 /*
414 * Hole. cp may have some bits set here, 417 * Hole. cp may have some bits set here,
415 * they should not affect remove_file()/copy_file() 418 * they should not affect remove_file()/copy_file()