summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJie Liu <jeff.liu@oracle.com>2010-05-13 22:09:30 +0800
committerJim Meyering <meyering@redhat.com>2011-01-30 20:44:10 +0100
commitdff2b95e4fb22f3e6f3360da0774c784d2f50ff9 (patch)
tree0df1f00b386be479f508a947a5159c57065b390e /tests
parent38cdb01a32ba386a42c370be8371a8bf884eacce (diff)
downloadcoreutils-dff2b95e4fb22f3e6f3360da0774c784d2f50ff9.tar.xz
cp: copy sparse files efficiently using the FIEMAP ioctl
* src/fiemap.h: Add fiemap.h for fiemap ioctl(2) support. Copied from linux's include/linux/fiemap.h, with minor formatting changes. * src/copy.c (copy_reg): Now, when `cp' is invoked with --sparse=[WHEN], we will try to do FIEMAP-copy if the underlying file system supports it, and fall back to a normal copy if it fails.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions