← Back to context Comment by acuozzo 2 days ago Is this guaranteed to be atomic on all filesystems? 2 comments acuozzo Reply chasil 2 days ago For POSIX, yes.https://rcrowley.org/2010/01/06/things-unix-can-do-atomicall...Windows has a deep well of POSIX in the kernel (plus hard file locks), and it appears to hold there.https://en.wikipedia.org/wiki/Microsoft_POSIX_subsystem elteto 1 day ago It’s even atomic on NFS. In fact, it’s probably the only reliable locking mechanism on NFS.
chasil 2 days ago For POSIX, yes.https://rcrowley.org/2010/01/06/things-unix-can-do-atomicall...Windows has a deep well of POSIX in the kernel (plus hard file locks), and it appears to hold there.https://en.wikipedia.org/wiki/Microsoft_POSIX_subsystem
elteto 1 day ago It’s even atomic on NFS. In fact, it’s probably the only reliable locking mechanism on NFS.
For POSIX, yes.
https://rcrowley.org/2010/01/06/things-unix-can-do-atomicall...
Windows has a deep well of POSIX in the kernel (plus hard file locks), and it appears to hold there.
https://en.wikipedia.org/wiki/Microsoft_POSIX_subsystem
It’s even atomic on NFS. In fact, it’s probably the only reliable locking mechanism on NFS.