Hacker News new | ask | show | jobs
by the_duke 2709 days ago
Excellent article, very informative.

I just had to chuckle at this:

> Non-engineers: in a computer, a move is always implemented as a copy followed by a delete

Yeah, that's really gonna help a non-developer understand the article better...

1 comments

It's confusing altogether. For example, that's not how /bin/mv (usually) works.
Usually, that's because /bin/mv is just changing a link to the file, not moving the file itself. In cases where it's actually moving the file -- say across a file system boundary -- it does copy the file and then delete the old version.
I reckon it was meant in the context of compaction.