News for hackers. Stuff that matters.
Re:Debian's /tmpest in a teapot by zepolen on Wednesday June 05, 2024 @03:22AM (#40582261)
Not to mention if you did have a large tmp file that you actually want to persist to a different directory that is on disk you now have to wait for the damn file to be copied from memory to disk vs a single atomic rename operation, this can have major implications depending on the context.
Re:Debian's /tmpest in a teapot by guappa on Wednesday June 05, 2024 @08:10AM (#40583908)
Rename doesn't work across filesystems. You just create a new file and do a regular copy.