A nit on the nit...

cat does not use mmap for files <= 32K in size. For those files
it's a simple read() into a buffer and write() it out.

Jim
---
Chris Gerhard wrote:
> A slight nit.  
>
> Using cat(1) to read the file to /dev/null will not actually cause the data 
> to be read thanks to the magic that is mmap().  If you use dd(1) to read the 
> file then yes you will either get the data and thus know it's blocks match  
> their checksums or dd will give you an error if you have no redundancy.
>
> --chris
> --
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
>   

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

Reply via email to