lobsters__mraza007@crustaceanson.theshelf.topM to Lobsters - all tags@crustaceanson.theshelf.topEnglish · 16 days ago[linux, python] Understanding Linux cp Command and Implementing in Pythonlockmuhammadraza.meexternal-linkmessage-square2linkfedilinkarrow-up11file-text
arrow-up11external-link[linux, python] Understanding Linux cp Command and Implementing in Pythonlockmuhammadraza.melobsters__mraza007@crustaceanson.theshelf.topM to Lobsters - all tags@crustaceanson.theshelf.topEnglish · 16 days agomessage-square2linkfedilinkfile-text
minus-squarelobsters__david_36a4@crustaceanson.theshelf.topMlinkfedilinkarrow-up1·16 days agoI believe cp on Linux uses copy_file_range, not read and write. In addition to bypassing copies to and from userspace, this means that copy-on-write filesystems can avoid copying the data and can instead just add a new reference. score 3 · canonical
I believe cp on Linux uses copy_file_range, not read and write. In addition to bypassing copies to and from userspace, this means that copy-on-write filesystems can avoid copying the data and can instead just add a new reference.
score 3 · canonical