News for hackers. Stuff that matters.
Re:Ask HN: Why don't file systems and OS's provide file syst... by bhawks on Saturday July 23, 2022 @12:43AM (#32200448)
Move _on_ the same filesystem/partition is atomic ;).
Re:Ask HN: Why don't file systems and OS's provide file syst... by beagle3 on Saturday July 23, 2022 @03:03AM (#32201082)
and only on _files_. If you want to atomically replace a whole directory. "move" alone can't do it - though you can compensate with a symbolic link.