On Mon, Dec 31, 2007 at 07:20:30PM +1100, Darren Reed wrote:
Frank Hofmann wrote:
http://www.opengroup.org/onlinepubs/009695399/functions/rename.html
ERRORS
The rename() function shall fail if:
[ ... ]
[EXDEV]
[CX] The links named by new and old are on different
Oof, I see this has been discussed since (and, actually, IIRC it was
discussed a long time ago too).
Anyways, IMO, this requires a new syscall or syscalls:
xdevrename(2)
xdevcopy(2)
and then mv(1) can do:
if (rename(old, new) != 0) {
if (xdevrename(old, new) !=
Nicolas Williams wrote:
On Mon, Dec 31, 2007 at 07:20:30PM +1100, Darren Reed wrote:
Frank Hofmann wrote:
http://www.opengroup.org/onlinepubs/009695399/functions/rename.html
ERRORS
The rename() function shall fail if:
[ ... ]
[EXDEV]
[CX] The links named by