Hello,

this is with reference to bug #6343653, "want to quickly "copy" a file
from a snapshot".

After a short dig through source code, the issue is that 'mv' will do
a copy because the rename syscall fails for files on different
filesystems (snapshots are mounted as separate filesystems from the
host filesystem).

There are 2 ways around this:

1) Hack/Modify the rename syscall to special case the ZFS snapshot situation

2) Implement a special internal ZFS call, which is only used by
something like "zfs mv <source> <destination>"

Implementation wise, I prefer 2. Thoughts anyone? :)

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

Reply via email to