Frank Hofmann wrote:
>
>
> On Fri, 28 Dec 2007, Darren Reed wrote:
> [ ... ]
>> Is this behaviour defined by a standard (such as POSIX or the
>> VFS design) or are we free to innovate here and do something
>> that allowed such a shortcut as required?
>
> Wrt. to standards, quote from:
>
>     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 file systems 
> and the
>     implementation does not support links between file systems.
>
> Hence, it's implementation-dependent, as per IEEE1003.1.

This implies that we'd also have to look at allowing
link(2) to also function between filesystems where
rename(2) was going to work without doing a copy,
correct?  Which I suppose makes sense.

Darren

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to