5 ms·
The fact that copying doesn't copy seems dangerous. Like what if I wanted to copy for the purpose of modifying the file while retaining the original. A trivial
by NoToP 2y ago
The fact that copying doesn't copy seems dangerous. Like what if I wanted to copy for the purpose of modifying the file while retaining the original. A trivial example of this might be I have a meme template and I want to write text in it while still keeping a blank copy of the template.
There's a place for alias file pointers, but lying to the user and pretending like an alias is a copy is bound to lead to unintended and confusing results
- deleted 2y ago[deleted]
- timabdulla 2y agoIt's copy on write.
- herrkanin 2y agoIt’s not a symbolic link - it copies on modification. No need to worry!
- hutattedonmyarm 2y agoIt‘s Copy On Write. When you modify either one it does get turned into an actual copy
- IsTom 2y agoCopy-on-write means that it performs copy only when you make the first change (and only copies part that changes, rest is used from the original file), until then copying is free.
- mlhpdx 2y agoIs it file level or block level copy? The latter, I hope. Update: whoops, missed it in your comment. Block (changed bytes) level.
- pca006132 2y agoCoW is not aliasing. It will perform the actual copying when you modify the file content.
- parwej 2y ago[flagged]