in reply to Re: rename file
in thread rename file
If this is all happening on the same file system, then it's an atomic rename (fully done or not at all).
It's not quite that simple. While rename(2) is supposed to be atomic on POSIXish systems, there are several of corner cases where that isn't completely reliable (e.g. NFS). One really has to know what OS and filesystem one is working on.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: rename file
by perlfan (Parson) on Aug 24, 2020 at 19:40 UTC |