Bob Friesenhahn <[EMAIL PROTECTED]> wrote:

> /dev/zero does not have infinite performance.  Dd will perform at 
> least one extra data copy in memory.  Since zfs computes checksums it 
> needs to inspect all of the bytes in what is written.  As a result, 
> zfs will easily know if the block is all zeros and even if the data is 
> all zeros, time will be consumed.
>
> On my system, Solaris dd does not seem to create a sparse file.  I 
> don't have GNU dd installed to test with.

I did not read the older messages in this thread, but:

dd skip=n skips n records on input
dd seek=n seeks n records on output

Whenever you use "dd ... of=name seek=something"
you will have the chance to get a sparse file (depending on the parameters
of the underlying filesystem).

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/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