Svetlitski / fcp

A significantly faster alternative to the classic Unix cp(1) command, copying large files and directories in a fraction of the time.
BSD 3-Clause "New" or "Revised" License
767 stars 19 forks source link

Shall fcp on Linux use `posix_fadvise(POSIX_FADV_NOREUSE)`? #20

Open vi opened 3 years ago

vi commented 3 years ago

Also there may be option to set POSIX_FADV_DONTNEED for target files, so that they don't dangle in filesystem cache unnecessarily.

Svetlitski commented 3 years ago

At first glance this seems like a good idea, I'll look into it further if I have the time.