Anil <an...@entic.net> writes:

> If you have another partition with enough space, you could technically
> just do:
>
> mv src /some/other/place
> mv /some/other/place src
>
> Anyone see a problem with that? Might be the best way to get it
> de-duped.

I get uneasy whenever I see mv(1) used to move directory trees between
filesystems, that is, whenever mv(1) can't do a simple rename(2), but
has to do a recursive copy of files.  it is essentially not restartable,
if mv(1) is interrupted, you must clean up the mess with rsync or
similar tools.  so why not use rsync from the get go?  (or zfs send/recv
of course.)

-- 
Kjetil T. Homme
Redpill Linpro AS - Changing the game

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

Reply via email to