logoalt Hacker News

jeffbee • yesterday at 10:36 PM • 1 reply • view on HN

That's a metadata action and has nothing to do with rewriting the blocks of the file.


Replies

MobiusHorizons • today at 12:38 AM

that would be true if /tmp and the destination happen to be on the same filesystem, but I don't think that's a safe assumption. Especially if you are using tmpfs which stores /tmp in ram or swap.