Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-30 | fiemap.h: include <stdint.h>, not <linux/types.h> | Jim Meyering | |
* src/fiemap.h: Include stdint.h, not linux/types.h, now that this file uses only portable type names. | |||
2011-01-30 | cp: copy sparse files efficiently using the FIEMAP ioctl | Jie Liu | |
* 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. |