3 ms·
No renameat2 moves the meta info (e.g. xattrs)as it’s an atomic “mv a temp; mv b a; mv tmp b” So tags from a will end up on b. If b is a temp file, then the t
by silvestrov 7y ago
No renameat2 moves the meta info (e.g. xattrs)as it’s an atomic “mv a temp; mv b a; mv tmp b”
So tags from a will end up on b. If b is a temp file, then the tags will be lost after the temp file is deleted.