Mike Castle wrote:
On Tue, Mar 06, 2001 at 05:51:45PM +0100, Assar Westerlund wrote:
Mike Castle [EMAIL PROTECTED] writes:
NT. (NT will happily rename() across disks, hardly an atomic operation).
What rename() is that? It's not the one in their posix library I
assume? Is there a
Mike Castle [EMAIL PROTECTED] writes:
On Sun, Mar 04, 2001 at 06:32:25AM +0100, Jim Meyering wrote:
Do you know of a system on which such a use of rename is _not_ atomic?
NT. (NT will happily rename() across disks, hardly an atomic operation).
What rename() is that? It's not the one in
On 6 Mar 2001, Assar Westerlund wrote:
Mike Castle [EMAIL PROTECTED] writes:
On Sun, Mar 04, 2001 at 06:32:25AM +0100, Jim Meyering wrote:
Do you know of a system on which such a use of rename is _not_ atomic?
NT. (NT will happily rename() across disks, hardly an atomic operation).
From: Assar Westerlund [EMAIL PROTECTED]
Date: 06 Mar 2001 17:51:45 +0100
If you're writing code that
depends on this and that has to be able to run on systems where you
cannot guarantee that rename isn't atomic, atomicity has to be
accomplished in some other way.
Agreed, but I've been
On Sun, Mar 04, 2001 at 06:32:25AM +0100, Jim Meyering wrote:
Do you know of a system on which such a use of rename is _not_ atomic?
NT. (NT will happily rename() across disks, hardly an atomic operation).
Some earlier implementations of Linux.
I believe some implementations of Solaris (for
Jim Meyering [EMAIL PROTECTED] writes:
"Derek R. Price" [EMAIL PROTECTED] wrote:
| Anyone ever tried to come up with a test for whether a rename across
| directories on the same file system/partition is atomic? The best I can
| come up with is to rename a large file in a background process
Anyone ever tried to come up with a test for whether a rename across
directories on the same file system/partition is atomic? The best I can
come up with is to rename a large file in a background process and try
and kill it real quick, but I don't think that would remain reliable
across a wide