[RT @gray_dot_bmp]TODAY I LEARNED that `cat file1 > file2` on Btrfs will just create a reflink instead of reading & writing all data
¹ thanks to the magic of copy_file_range()
I know `cp file1 file2` in new coreutils will reflink and it's a nice feature, but for `cat` it's really unexpected lol
@mirek Yeah, I run `cat file1 > file2` twice a day, because it is so important for data processing 🤣 🙄
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!