News for hackers. Stuff that matters.
Re:Things Unix can do atomically (2010) by Sanddancer on Monday May 30, 2016 @11:26PM (#11804364)
Very implausible. Mv across filesystems is usually implemented as a copy then delete. Worst case, you'll have the data exist in both locations.
Re:Things Unix can do atomically (2010) by nshepperd on Tuesday May 31, 2016 @12:11AM (#11804506)
It's possible, in case of physical disconnection or power interruption. There is no guarantee that the copied data will be flushed out of buffers into nonvolatile storage before the delete is (unless the program asks for such a flush and the system honors it).