Michael Schuster <michael.schus...@sun.com> wrote:

> >> "rm -rf" would be at least as quick.
> > 
> > Normally when you do a move with-in a 'regular' file system all that's
> > usually done is the directory pointer is shuffled around. This is not the
> > case with ZFS data sets, even though they're on the same pool?
>
> no - mv doesn't know about zpools, only about posix filesystems.

mv first tries to rename(2) the file. If this does not succeed but results in 
EXDEV, it copies the file.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to