3 ms·
Uhh, if the system powers off immediately after the first command (mv a b), the second command (mv c d) would never run. So where would d come from if the comm
by LgWoodenBadger 9mo ago
Uhh, if the system powers off immediately after the first command (mv a b), the second command (mv c d) would never run. So where would d come from if the command that created it never executed?
- zbentley 8mo agoEr, sorry: I meant: if the first command runs, the plug is pulled, system starts again, second command runs.
- lpribis 8mo agoSure, but splitting "atomic" operations across a reboot is an interesting design choice. Surely upon reboot you would re-try the first `mv a b` before doing other things.