atomically swap two files
From: Frank A. Kingswood
Date: Thu Nov 25 2010 - 15:13:22 EST
Hi!
Is it possible to swap two files in an atomic way, so that after the
syscall either the two files have exchanged names or neither has been
modified?
I suspect that btrfs could do it, but I'm wondering about ext3/4.
Frank
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/