Atemu, 1 year ago simple_cat which does a simple read/write loop You just proved my own point. cat does the write(). Bash just configures where it writes to. re the reflink thing, you were probably thinking of cp, not cat. No, I was specifically thinking of cat. I just copied a 73G non-sparse incompressible file in 3 seconds using cat file > copy. copy_file_range does reflinks on btrfs.
simple_cat which does a simple read/write loop
You just proved my own point. cat does the write(). Bash just configures where it writes to.
cat
write()
re the reflink thing, you were probably thinking of cp, not cat.
No, I was specifically thinking of cat. I just copied a 73G non-sparse incompressible file in 3 seconds using cat file > copy.
cat file > copy
copy_file_range does reflinks on btrfs.
copy_file_range