>
>
>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.


So it can be transparently solved in the VFS layer (also nice for moving
files back from cloned snapshots and such)

Casper

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

Reply via email to